[alsa-devel] [Resend] [PATCH] ASoC: Amstrad Delta: fix const related build error

Liam Girdwood lrg at slimlogic.co.uk
Tue Feb 1 15:02:24 CET 2011

On Tue, 2011-02-01 at 11:11 +0100, Janusz Krzysztofik wrote:
> The Amstrad Delta ASoC driver used to override the digital_mute() 
> callback, expected to be not provided by the on-board CX20442 CODEC 
> driver, with its own implementation. While this is still posssible when 
> substituting the whole empty snd_soc_dai_driver.ops member (the CX20442 
> case), replacing snd_soc_dai_ops.digital_mute only is no longer correct 
> after the snd_soc_dai_driver.ops member has been constified, and results 
> in build error.
> Drop this actually not used code path in hope the CX20442 driver never 
> provides its own snd_soc_dai_ops structure.
> Created and tested against linux-2.6.38-rc2
> Signed-off-by: Janusz Krzysztofik <jkrzyszt at tis.icnet.pl>
> ---
> Resending because of line wrap, sorry.
> Please consider queuing this patch for the current rc cycle.

Acked-by: Liam Girdwood <lrg at slimlogic.co.uk>
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.

More information about the Alsa-devel mailing list