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

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

The only exception is DMIC2DAT input. Given that DMIC1DAT is explicitly
mentioned in the DAPM routes lets assume that DMIC2DAT simply has been
overlooked and should be 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/brownstone.c
This page took 0.039579 seconds and 5 git commands to generate.