[alsa-devel] [PATCH] ASoC: ak4642: fixup snd_soc_update_bits mask for PW_MGMT2
Kuninori Morimoto
kuninori.morimoto.gx at renesas.com
Thu Jul 7 02:58:56 CEST 2011
mask didn't cover update-data
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
---
This patch based on asoc/for-3.1
sound/soc/codecs/ak4642.c | 2 +-
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 */
--
1.7.4.1
More information about the Alsa-devel
mailing list