From: Kuninori Morimoto Date: Thu, 7 Jul 2011 00:58:56 +0000 (-0700) Subject: ASoC: ak4642: fixup snd_soc_update_bits mask for PW_MGMT2 X-Git-Tag: v2.6.39.4~59 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f26417930bc1b60ffd1a0ffc11e4a86a48e9d9bc;p=karo-tx-linux.git ASoC: ak4642: fixup snd_soc_update_bits mask for PW_MGMT2 commit bd7fdbcaa2d06d446577fd3c9b81847b04469e01 upstream. mask didn't cover update-data Signed-off-by: Kuninori Morimoto Acked-by: Liam Girdwood Signed-off-by: Mark Brown Signed-off-by: Greg Kroah-Hartman --- diff --git a/sound/soc/codecs/ak4642.c b/sound/soc/codecs/ak4642.c index 4be0570e3f1f..65f46047b1cb 100644 --- a/sound/soc/codecs/ak4642.c +++ b/sound/soc/codecs/ak4642.c @@ -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 */