ASoC: Relax restrictions on WM8962 BCLK configuration
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 30 Sep 2010 21:18:48 +0000 (14:18 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 30 Sep 2010 21:55:28 +0000 (14:55 -0700)
The restrictions on configuring BCLK are overly cautious, other constraints
in the system should ensure that reconfiguration is not possible when the
device is sufficiently active to be unable to support reclocking.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/codecs/wm8962.c

index be34146a775bde831f861a1afa43f82e5ba65b77..38cbf85688f6b78b580e13951353408d774374be 100644 (file)
@@ -911,12 +911,6 @@ static void wm8962_configure_bclk(struct snd_soc_codec *codec)
        int clocking2 = 0;
        int aif2 = 0;
 
-       /* If the CODEC is powered on we can configure BCLK */
-       if (codec->bias_level != SND_SOC_BIAS_OFF) {
-               dev_dbg(codec->dev, "Bias is off, can't configure BCLK\n");
-               return;
-       }
-
        if (!wm8962->bclk) {
                dev_dbg(codec->dev, "No BCLK rate configured\n");
                return;