ASoC: sta32x: correct bit shift value for IDE register
authorThomas Niederprüm <niederp@physik.uni-kl.de>
Wed, 21 Jan 2015 23:02:01 +0000 (00:02 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 27 Jan 2015 17:10:00 +0000 (17:10 +0000)
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>
sound/soc/codecs/sta32x.h

index d8e32a6262ee087ec13e73d24e57b936eefaa42b..d3191c983d712b5c02fb8a94733b75c21cb6b447 100644 (file)
 #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