ASoC: magician: Automatically disconnect non-connected pins
authorLars-Peter Clausen <[email protected]>
Fri, 9 Jan 2015 21:03:30 +0000 (22:03 +0100)
committerMark Brown <[email protected]>
Fri, 9 Jan 2015 21:05:55 +0000 (21:05 +0000)
commit3cfaaaa0e729aa10a5e2dfe1efb1c05a6f5a89d1
tree6af728c15a630c60a069f3fc39a585a9c3444514
parentc529d0a420ba4ba2031f61a4b86f59e31ddc964e
ASoC: magician: Automatically disconnect non-connected pins

All DAPM input and output pins of the uda1380 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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
sound/soc/pxa/magician.c