2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-17 09:43:59 +08:00

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>
This commit is contained in:
Thomas Niederprüm 2015-01-22 00:02:01 +01:00 committed by Mark Brown
parent 97bf6af1f9
commit b0402717c9

View File

@ -131,7 +131,7 @@
#define STA32X_CONFF_OCFG_MASK 0x03 #define STA32X_CONFF_OCFG_MASK 0x03
#define STA32X_CONFF_OCFG_SHIFT 0 #define STA32X_CONFF_OCFG_SHIFT 0
#define STA32X_CONFF_IDE 0x04 #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_BCLE 0x08
#define STA32X_CONFF_ECLE 0x20 #define STA32X_CONFF_ECLE 0x20
#define STA32X_CONFF_PWDN 0x40 #define STA32X_CONFF_PWDN 0x40