ASoC: audio-graph-card: add widgets and routing for external amplifier support
authorShawn Guo <shawn.guo@linaro.org>
Thu, 29 Jun 2017 13:26:38 +0000 (21:26 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 30 Jun 2017 11:37:08 +0000 (12:37 +0100)
commitf986907c9225cf48e9a55233b086039152bb5b99
tree318aaeeef390f794398034af2b7c4cecb8980b04
parenta0c683d734e0b3589892c17d0e1187f20d2c3a54
ASoC: audio-graph-card: add widgets and routing for external amplifier support

It's very common that audio card has a machine level amplifier which is
controlled by GPIO.  The patch adds DAPM widgets and routing support
into audio-graph-card driver, and creates an output driver widget with
event to control the amplifier via GPIO.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/audio-graph-card.c