24 Mar
2014
24 Mar
'14
11:57 a.m.
On Tue, Mar 18, 2014 at 09:02:04AM +0100, Lars-Peter Clausen wrote:
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 lars@metafoo.de
For the Wolfson bits:
Acked-by: Charles Keepax ckeepax@opensource.wolfsonmicro.com
Thanks, Charles