From: Lars-Peter Clausen Date: Wed, 24 Jul 2013 13:27:36 +0000 (+0200) Subject: ASoC: dapm: Pass snd_soc_card directly to soc_dpcm_runtime_update() X-Git-Tag: v3.12-rc1~150^2~9^2~45^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3f48ae6fd5a1ebdcaff5efe35f88f31daaee225;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed