diff options
Diffstat (limited to 'sound/soc/codecs/tlv320aic26.h')
-rw-r--r-- | sound/soc/codecs/tlv320aic26.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sound/soc/codecs/tlv320aic26.h b/sound/soc/codecs/tlv320aic26.h index 67f19c3bebe6..629b85e75409 100644 --- a/sound/soc/codecs/tlv320aic26.h +++ b/sound/soc/codecs/tlv320aic26.h | |||
@@ -9,10 +9,7 @@ | |||
9 | #define _TLV320AIC16_H_ | 9 | #define _TLV320AIC16_H_ |
10 | 10 | ||
11 | /* AIC26 Registers */ | 11 | /* AIC26 Registers */ |
12 | #define AIC26_READ_COMMAND_WORD(addr) ((1 << 15) | (addr << 5)) | 12 | #define AIC26_PAGE_ADDR(page, offset) ((page << 11) | offset << 5) |
13 | #define AIC26_WRITE_COMMAND_WORD(addr) ((0 << 15) | (addr << 5)) | ||
14 | #define AIC26_PAGE_ADDR(page, offset) ((page << 6) | offset) | ||
15 | #define AIC26_NUM_REGS AIC26_PAGE_ADDR(3, 0) | ||
16 | 13 | ||
17 | /* Page 0: Auxiliary data registers */ | 14 | /* Page 0: Auxiliary data registers */ |
18 | #define AIC26_REG_BAT1 AIC26_PAGE_ADDR(0, 0x05) | 15 | #define AIC26_REG_BAT1 AIC26_PAGE_ADDR(0, 0x05) |