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

Most DAPM input and output pins of the wm9712 are either used in the card's
DAPM routing table or are marked as not connected. The only two exception
are "PHONE" and "PCBEEP" input, lets assume that those were simply
overlooked and that the routing table is complete.

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/tosa.c
This page took 0.024383 seconds and 5 git commands to generate.