[alsa-devel] [PATCH 09/10] ASoC: sta32x: correct bit shift value for IDE register.
Thomas Niederprüm
niederp at physik.uni-kl.de
Thu Jan 22 00:02:01 CET 2015
The IDE bit in the CONFF register is the third bit not the fourth.
Signed-off-by: Thomas Niederprüm <niederp at physik.uni-kl.de>
---
sound/soc/codecs/sta32x.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/sta32x.h b/sound/soc/codecs/sta32x.h
index 4ccc722..36fb371 100644
--- a/sound/soc/codecs/sta32x.h
+++ b/sound/soc/codecs/sta32x.h
@@ -131,7 +131,7 @@
#define STA32X_CONFF_OCFG_MASK 0x03
#define STA32X_CONFF_OCFG_SHIFT 0
#define STA32X_CONFF_IDE 0x04
-#define STA32X_CONFF_IDE_SHIFT 3
+#define STA32X_CONFF_IDE_SHIFT 2
#define STA32X_CONFF_BCLE 0x08
#define STA32X_CONFF_ECLE 0x20
#define STA32X_CONFF_PWDN 0x40
--
2.1.1
More information about the Alsa-devel
mailing list