ASoC: rx51: Automatically disconnect non-connected pins
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 4 Jun 2015 14:13:51 +0000 (16:13 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 9 Jun 2015 17:57:30 +0000 (18:57 +0100)
commit6876c7c884b9115111768f2824138533ad8490da
tree49550f0289350313790a0254cb88e03b80a77049
parent0574eab363ace70ef275d4caad6eadc458d33728
ASoC: rx51: Automatically disconnect non-connected pins

According to the schematics the external speaker is differential, so the
HPLCOM and HPRCOM pins of the CODEC should be connected to it.

Otherwise the routing looks complete, so add the missing routes and 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>
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Tested-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Reviewed-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/omap/rx51.c