diff options
author | Mark Brown <broonie@linaro.org> | 2013-09-23 22:14:32 +0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2013-09-25 16:47:30 +0400 |
commit | fd792f8fbcfa95674b6c417429f576ad1d808086 (patch) | |
tree | dd092c79d308f1b2194f1091cab23f2dfb046b2e /include/linux/mfd/mc13xxx.h | |
parent | c29c2d4e6ba4f8f5868a4c6dd75a4c23e1993721 (diff) | |
download | linux-fd792f8fbcfa95674b6c417429f576ad1d808086.tar.xz |
mfd: mc13xxx: Move SPI erratum workaround into SPI I/O function
Move the workaround for double sending AUDIO_CODEC and AUDIO_DAC writes
into the SPI core, aiding refactoring to eliminate the ASoC custom I/O
functions and avoiding the extra writes for I2C.
Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd/mc13xxx.h')
-rw-r--r-- | include/linux/mfd/mc13xxx.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/mfd/mc13xxx.h b/include/linux/mfd/mc13xxx.h index 41ed59276c00..67c17b5a6f44 100644 --- a/include/linux/mfd/mc13xxx.h +++ b/include/linux/mfd/mc13xxx.h @@ -41,6 +41,13 @@ int mc13xxx_adc_do_conversion(struct mc13xxx *mc13xxx, unsigned int mode, unsigned int channel, u8 ato, bool atox, unsigned int *sample); +#define MC13783_AUDIO_RX0 36 +#define MC13783_AUDIO_RX1 37 +#define MC13783_AUDIO_TX 38 +#define MC13783_SSI_NETWORK 39 +#define MC13783_AUDIO_CODEC 40 +#define MC13783_AUDIO_DAC 41 + #define MC13XXX_IRQ_ADCDONE 0 #define MC13XXX_IRQ_ADCBISDONE 1 #define MC13XXX_IRQ_TS 2 |