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

Most DAPM input and output pins of the wm8750 are either used in the card's
DAPM routing table or are marked as not connected. The only exceptions are
the LINPUT1, RINPUT1, LINPUT2 input pins. 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/z2.c