ASoC: ak4642: fixup snd_soc_update_bits mask for PW_MGMT2
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 7 Jul 2011 00:58:56 +0000 (17:58 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 7 Jul 2011 16:46:06 +0000 (09:46 -0700)
mask didn't cover update-data

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.org
sound/soc/codecs/ak4642.c

index 4be0570e3f1fc167fad8682e27f33dd7c810dd30..65f46047b1cbd21d0d9441966ae6ceb6c5c6120e 100644 (file)
@@ -357,7 +357,7 @@ static int ak4642_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt)
        default:
                return -EINVAL;
        }
-       snd_soc_update_bits(codec, PW_MGMT2, MS, data);
+       snd_soc_update_bits(codec, PW_MGMT2, MS | MCKO | PMPLL, data);
        snd_soc_update_bits(codec, MD_CTL1, BCKO_MASK, bcko);
 
        /* format type */