ASoC: tlv320aic32x4: Fix mono playback
authorMarkus Pargmann <mpa@pengutronix.de>
Mon, 27 Jan 2014 12:03:05 +0000 (13:03 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 27 Jan 2014 18:13:40 +0000 (18:13 +0000)
commitb44aa40f875b06b1986a18251d601ee1832c4476
tree17c1992a43fb4c674f6558e5df3d58127da1da53
parent7552f34a790069a008bd3e2ab4c0954b30c2f63b
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>
sound/soc/codecs/tlv320aic32x4.c
sound/soc/codecs/tlv320aic32x4.h