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: firefly_0821_release~3680^2~2691^2~1016^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bd7fdbcaa2d06d446577fd3c9b81847b04469e01;p=firefly-linux-kernel-4.4.55.git ASoC: ak4642: fixup snd_soc_update_bits mask for PW_MGMT2 mask didn't cover update-data Signed-off-by: Kuninori Morimoto Acked-by: Liam Girdwood Signed-off-by: Mark Brown Cc: stable@kernel.org --- 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 */