]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ASoC: dapm: Pass snd_soc_card directly to soc_dpcm_runtime_update()
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 24 Jul 2013 13:27:36 +0000 (15:27 +0200)
committerMark Brown <broonie@linaro.org>
Wed, 24 Jul 2013 13:56:19 +0000 (14:56 +0100)
commitc3f48ae6fd5a1ebdcaff5efe35f88f31daaee225
tree6c4b3a672a50f214b6a4ab19ba77307398a3c39d
parent63c69a6e4134a2085d40e40c02a395dd1bd8c023
ASoC: dapm: Pass snd_soc_card directly to soc_dpcm_runtime_update()

soc_dpcm_runtime_update() operates on a ASoC card as a whole. Currently it takes
a snd_soc_dapm_widget as its only parameter though. The widget is then used to
look up the card and is otherwise unused. This patch changes the function to
take a pointer to the card directly. This makes it possible to to call
soc_dpcm_runtime_update() for updates which are not related to one specific
widget.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
include/sound/soc-dpcm.h
sound/soc/soc-dapm.c
sound/soc/soc-pcm.c