ASoC: spdif_transceiver: add output pin widget
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 4 Aug 2013 19:32:04 +0000 (20:32 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 5 Aug 2013 11:32:40 +0000 (12:32 +0100)
commit6ad709482e151068b7197f4572edeeae5eeaff93
treea998e1f000c39914e4f3196a859908600d1c0867
parentdb5ff9541b61ef8394bad0fb05508921b8c5b17b
ASoC: spdif_transceiver: add output pin widget

CODECs without any outputs now remain powered down, which means any
paths to these codecs also remain powered down.

Add an always-enabled output pin widget to the spdif transceiver codec.
This enables DAPM to correctly identify that the spdif transceiver is
in use when playback is enabled, which will then allow DAPM to power up
any links from the CPU DAI to the S/PDIF transceiver.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/spdif_transmitter.c