ASoC: cs4265: Add a MIC pre. route
authorMatt Flax <flatmax@flatmax.org>
Tue, 25 Sep 2018 06:40:18 +0000 (16:40 +1000)
committerMark Brown <broonie@kernel.org>
Tue, 25 Sep 2018 17:18:38 +0000 (10:18 -0700)
commitb0ef5011b981ece1fde8063243a56d3038b87adb
tree5b6e2e8b0f2daecbb0d3bf825bae1076ea3dddf0
parent15a0c64572463eddf59e80aa643d3a87809a7d9b
ASoC: cs4265: Add a MIC pre. route

The cs4265 driver is missing a microphone preamp enable.
This patch enables/disables the microphone preamp when mic
selection is made using the kcontrol.

Signed-off-by: Matt Flax <flatmax@flatmax.org>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs4265.c