OSDN Git Service

ASoC: palm27x: Automatically disconnect non-connected pins
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 9 Jan 2015 21:03:32 +0000 (22:03 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 9 Jan 2015 21:05:55 +0000 (21:05 +0000)
commit19a3477ec0eb635bdebd1dd905b1cee9a3c06c96
tree617cceb6877e951db9908fd2f943341649a34d25
parentb68ef0e0368cda4e17541ae87bbb5b40dc15cbc1
ASoC: palm27x: Automatically disconnect non-connected pins

All DAPM input and output pins of the wm9712 are either used in the card's
DAPM routing table or are marked as not connected.

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/palm27x.c