summaryrefslogtreecommitdiff
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-06-08 12:34:21 -0600
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-06-13 13:18:04 +0100
commit18d756440e8ed292b772682c4440a9d33643225b (patch)
treeacf3fc935339dfdd105ff3376be0e690121c9f15 /lib/fault-inject.c
parenta9db7dbee0436f0c741c6dfb39ab0241d4131539 (diff)
downloadolio-linux-3.10-18d756440e8ed292b772682c4440a9d33643225b.tar.xz
olio-linux-3.10-18d756440e8ed292b772682c4440a9d33643225b.zip
ASoC: when removing a CPU DAI, clean up its DAPM context
When a standalone CPU DAI (one not part of a CODEC) is probed, widgets are created for it. Add a call to snd_soc_dapm_free() in order to clean these up when the CPU DAI is removed. In order for snd_soc_dapm_free() to work, the CPU DAI's DAPM context's list member must be initialized, since snd_soc_dapm_free() removes that from the list it's part of. Add it to the card's list of DAPM contexts. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions