ASoC: poodle: Automatically disconnect non-connected pins
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 7 May 2015 19:27:47 +0000 (21:27 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 8 May 2015 11:05:07 +0000 (12:05 +0100)
commit9b44bacd584220e721fb477cfd6de457f34a4f11
treecb6cfd02d2d22460cff436a82ed4379a986a1978
parent6b9aa50cd239ff78f6680d070315608a49218159
ASoC: poodle: Automatically disconnect non-connected pins

The Zaurus SL-5600 seems to have a microphone input. Otherwise all DAPM
input and output pins of the wm8731 are either used in the card's DAPM
routing table or are marked as not connected.

So add the microphone to the DAPM tables and set the fully_routed flag of
the card instead of manually marking the unused inputs and outputs as not
connected. This makes the code a bit shorter and cleaner.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/pxa/poodle.c
This page took 0.029735 seconds and 5 git commands to generate.