diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2014-01-27 07:03:05 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-01-27 13:13:40 -0500 |
commit | b44aa40f875b06b1986a18251d601ee1832c4476 (patch) | |
tree | 17c1992a43fb4c674f6558e5df3d58127da1da53 /sound/soc/codecs/tlv320aic32x4.h | |
parent | 7552f34a790069a008bd3e2ab4c0954b30c2f63b (diff) |
ASoC: tlv320aic32x4: Fix mono playback
Playback of a mono stream should output the same stream on both
channels. At the moment only the left analog signal is valid, the right
one is just noise.
This patch maps the left digital channel onto both DACs when receiving a
mono stream.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/tlv320aic32x4.h')
-rw-r--r-- | sound/soc/codecs/tlv320aic32x4.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/tlv320aic32x4.h b/sound/soc/codecs/tlv320aic32x4.h index 35774223fd91..83795af8c75f 100644 --- a/sound/soc/codecs/tlv320aic32x4.h +++ b/sound/soc/codecs/tlv320aic32x4.h | |||
@@ -138,6 +138,7 @@ | |||
138 | #define AIC32X4_LDAC2RCHN (0x02 << 4) | 138 | #define AIC32X4_LDAC2RCHN (0x02 << 4) |
139 | #define AIC32X4_LDAC2LCHN (0x01 << 4) | 139 | #define AIC32X4_LDAC2LCHN (0x01 << 4) |
140 | #define AIC32X4_RDAC2RCHN (0x01 << 2) | 140 | #define AIC32X4_RDAC2RCHN (0x01 << 2) |
141 | #define AIC32X4_DAC_CHAN_MASK 0x3c | ||
141 | 142 | ||
142 | #define AIC32X4_SSTEP2WCLK 0x01 | 143 | #define AIC32X4_SSTEP2WCLK 0x01 |
143 | #define AIC32X4_MUTEON 0x0C | 144 | #define AIC32X4_MUTEON 0x0C |