ASoC: fsl: imx-wm8962: Don't update bias_level in machine driver
authorNicolin Chen <b42378@freescale.com>
Fri, 6 Dec 2013 15:38:28 +0000 (23:38 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 9 Dec 2013 17:51:00 +0000 (17:51 +0000)
If we update it here, the set_bias_level() of Codec driver won't be normally
called and we will then miss some essential procedures in set_bias_level() of
the Codec driver. Thus drop it.

Signed-off-by: Nicolin Chen <b42378@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/fsl/imx-wm8962.c

index 72064e9..72718e1 100644 (file)
@@ -130,8 +130,6 @@ static int imx_wm8962_set_bias_level(struct snd_soc_card *card,
                break;
        }
 
-       dapm->bias_level = level;
-
        return 0;
 }