]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Dynamically allocate the rtd device for a non-empty release()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 7 Jan 2012 01:12:45 +0000 (17:12 -0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 10 Jan 2012 22:53:56 +0000 (14:53 -0800)
commitdb0b68b183584ab1db5acdf0434deaf4b201341f
treef0de43670060374bf9f2e81a4c2fcb65dc821545
parenta05ebc7bd53a1e938260b3dbfafb73e0cba1a34a
ASoC: Dynamically allocate the rtd device for a non-empty release()

The device model needs a release() function so it can free devices when
they become dereferenced.  Do that for rtds.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/soc.h
sound/soc/soc-core.c
sound/soc/soc-dapm.c