summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorThomas Niederprüm <niederp@physik.uni-kl.de>2015-01-21 23:02:01 (GMT)
committerMark Brown <broonie@kernel.org>2015-01-27 17:10:00 (GMT)
commitb0402717c987c7e1150ae7ad800a9eb75664012f (patch)
treebe69d8d0de28b738384f64829ad4536ca8a764fd /sound
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff)
downloadlinux-b0402717c987c7e1150ae7ad800a9eb75664012f.tar.xz
ASoC: sta32x: correct bit shift value for IDE register
The IDE bit in the CONFF register is the third bit not the fourth. Signed-off-by: Thomas Niederprüm <niederp@physik.uni-kl.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/sta32x.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/sta32x.h b/sound/soc/codecs/sta32x.h
index d8e32a6..d3191c9 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