From: Lars-Peter Clausen Date: Tue, 18 Mar 2014 08:02:04 +0000 (+0100) Subject: ASoC: Add snd_soc_kcontrol_codec() helper function X-Git-Tag: omap-for-v3.16/fixes-against-rc1~21^2~52^2~14^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea53bf77d147e7e560ac007fdaa30fb98c37c712;p=pandora-kernel.git ASoC: Add snd_soc_kcontrol_codec() helper function For CODEC controls snd_kcontrol_chip() currently returns a pointer to the CODEC that registered the control. With the upcoming consolidation of platform and CODEC controls this will change. Prepare for this by introducing the snd_soc_kcontrol_codec() helper function that will hide the implementation details of how the CODEC for a control can be obtained. This will allow us to change this easily in the future. The patch also updates all CODEC drivers to use the new helper function. Signed-off-by: Lars-Peter Clausen Acked-by: Charles Keepax Signed-off-by: Mark Brown --- Reading git-diff-tree failed