]> 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)
commit561f23f525aba6f0bf0dd298273f22113d563238
treef0de43670060374bf9f2e81a4c2fcb65dc821545
parentcda1474b8387cafd9ae65f7b85afc3c8df9b67eb
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