]> git.karo-electronics.de Git - linux-beck.git/commit
ASoC: hx4700: Automatically disconnect non-connected pins
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 9 Jan 2015 21:03:29 +0000 (22:03 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 9 Jan 2015 21:05:55 +0000 (21:05 +0000)
commitc529d0a420ba4ba2031f61a4b86f59e31ddc964e
tree31b983ff0020dd0c939eaf28c934e5e8130f1faa
parent7523f69e584cba16775cbc70a4f0adcb84625894
ASoC: hx4700: Automatically disconnect non-connected pins

All DAPM input and output pins of the ak4641 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/hx4700.c