ASoC: wm5110: Power both channels for differential mono output
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Tue, 10 Jun 2014 17:41:02 +0000 (18:41 +0100)
committerMark Brown <broonie@linaro.org>
Sat, 21 Jun 2014 10:34:59 +0000 (11:34 +0100)
commitb60f363b7f226daf40025ab13972dc82e6780be3
tree11d5b8502bb8627968386b8e81992692d787b2f5
parent7171511eaec5bf23fb06078f59784a3a0626b38f
ASoC: wm5110: Power both channels for differential mono output

On the wm5110 CODEC both the left and right channel must be powered
when an output is being used as a mono output, although no audio is
routed to the right output channel. This patch adds additional DAPM
routes to link the right channel to the left in the case where an output
is marked as mono. Audio must always be brought in on the left channel
for mono operation.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/arizona.c
sound/soc/codecs/arizona.h
sound/soc/codecs/wm5110.c