ASoC: wm8904: implement input mode select as a mux
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Tue, 20 Aug 2019 11:02:37 +0000 (13:02 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 20 Aug 2019 17:03:02 +0000 (18:03 +0100)
commit0a05f2e865ad6e461cada8f931b34551287dbba2
tree8aa4fa612d26acd824010aa71a6da50f8a5665e9
parent22afe6242387eca1ac3905fbde7bef38deb0357d
ASoC: wm8904: implement input mode select as a mux

Make '* Capture Mode' a mux. This makes DAPM know that in single-ended
mode only inverting mux paths need to be enabled.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/125cd3c9f298da9b08a4d6002d4c00d70a898950.1566298834.git.mirq-linux@rere.qmqm.pl
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8904.c