[alsa-devel] [PATCH 01/13] ASoC: Add snd_soc_kcontrol_codec() helper function
Charles Keepax
ckeepax at opensource.wolfsonmicro.com
Mon Mar 24 11:57:51 CET 2014
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 at metafoo.de>
> ---
For the Wolfson bits:
Acked-by: Charles Keepax <ckeepax at opensource.wolfsonmicro.com>
Thanks,
Charles
More information about the Alsa-devel
mailing list