From: Thomas Niederprüm Date: Wed, 21 Jan 2015 23:02:01 +0000 (+0100) Subject: ASoC: sta32x: correct bit shift value for IDE register X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=b0402717c987c7e1150ae7ad800a9eb75664012f;p=deliverable%2Flinux.git 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 Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/sta32x.h b/sound/soc/codecs/sta32x.h index d8e32a6262ee..d3191c983d71 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