]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
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)
committerAndi Kleen <ak@linux.intel.com>
Mon, 1 Aug 2011 20:55:03 +0000 (13:55 -0700)
[ upstream commit bd7fdbcaa2d06d446577fd3c9b81847b04469e01 ]

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
Signed-off-by: Andi Kleen <ak@linux.intel.com>
sound/soc/codecs/ak4642.c

index 7528a54102b5b2cdc83b554ae8d8cf85d9f30888..dc21971d9c8349e5ec6287d2e8939d37acc2df71 100644 (file)
@@ -319,7 +319,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);
 
        return 0;