[alsa-devel] [PATCH 1/2] ASoC: tlv320dac33: Fix compillation error

Liam Girdwood lrg at slimlogic.co.uk
Thu Dec 9 10:45:17 CET 2010


On Wed, 2010-12-08 at 15:12 +0200, Peter Ujfalusi wrote:
> Fix the compilation error introduced by patch:
> ASoC: tlv320dac33: Avoid multiple soft power up
> 
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi at nokia.com>
> ---
>  sound/soc/codecs/tlv320dac33.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/sound/soc/codecs/tlv320dac33.c b/sound/soc/codecs/tlv320dac33.c
> index a0ba5d1..d13fda0 100644
> --- a/sound/soc/codecs/tlv320dac33.c
> +++ b/sound/soc/codecs/tlv320dac33.c
> @@ -638,6 +638,7 @@ static int dac33_add_widgets(struct snd_soc_codec *codec)
>  static int dac33_set_bias_level(struct snd_soc_codec *codec,
>  				enum snd_soc_bias_level level)
>  {
> +	struct tlv320dac33_priv *dac33 = snd_soc_codec_get_drvdata(codec);
>  	int ret;
>  
>  	switch (level) {

Applied.

Thanks

Liam
-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk



More information about the Alsa-devel mailing list