]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: core: fix invalid free of devm_ allocated data
authorSilviu-Mihai Popescu <silviupopescu1990@gmail.com>
Sat, 16 Mar 2013 11:45:34 +0000 (13:45 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 20 Mar 2013 10:05:56 +0000 (11:05 +0100)
commiteafabd04709e3137df9625f0fdd932c74f4bc2e6
tree29ad6e35139a06673b4653926f649302b284a2d8
parenta8752fadc830da84acc21208518156eb16857c3b
ASoC: core: fix invalid free of devm_ allocated data

The objects allocated by devm_* APIs are managed by devres and are freed when
the device is detached. Hence there is no need to use kfree() explicitly.

Signed-off-by: Silviu-Mihai Popescu <silviupopescu1990@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-core.c