summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/ak4642.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2011-07-06 17:58:56 -0700
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-07-07 09:46:06 -0700
commitbd7fdbcaa2d06d446577fd3c9b81847b04469e01 (patch)
tree120b32593b7e8cadfb0190968cb9e80b69f981fc /sound/soc/codecs/ak4642.c
parent4c7c5374ce6876d3d2c7013ef815051df4258952 (diff)
downloadop-kernel-dev-bd7fdbcaa2d06d446577fd3c9b81847b04469e01.zip
op-kernel-dev-bd7fdbcaa2d06d446577fd3c9b81847b04469e01.tar.gz
ASoC: ak4642: fixup snd_soc_update_bits mask for PW_MGMT2
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
Diffstat (limited to 'sound/soc/codecs/ak4642.c')
-rw-r--r--sound/soc/codecs/ak4642.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/ak4642.c b/sound/soc/codecs/ak4642.c
index 4be0570..65f4604 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 */
OpenPOWER on IntegriCloud