Charles Keepax b5083c0c94
ASoC: wm8962: Allow switching between analog and digital inputs
When the DMIC_ENA bit is set the analogue inputs are disconnected from
the digital core of the chip, in favour of the digital microphones.
Currently the driver will always enable DMIC_ENA whilst the GPIOs are
configured for the DMIC function, this means the user can't currently
use both the analog inputs and the digital inputs in one system.

Add an additional DAPM mutex that allows switching between analog and
digital inputs into the digital core.

Reported-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reported-and-tested-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Link: https://lore.kernel.org/r/20220202164545.30457-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-02-03 11:30:59 +00:00
..
2021-04-20 17:25:51 +01:00
2022-01-24 13:31:35 +00:00
2022-01-24 13:31:35 +00:00
2022-01-05 13:53:58 +00:00
2021-03-10 13:10:37 +00:00
2021-09-27 12:59:09 +01:00
2021-03-31 18:00:38 +01:00
2021-03-31 18:00:38 +01:00
2021-02-04 18:45:19 +00:00
2018-04-26 12:44:15 +01:00
2021-12-24 14:06:58 +00:00
2021-10-02 01:31:58 +01:00
2019-06-12 13:52:26 +01:00
2020-05-07 13:18:04 +01:00
2019-07-26 13:10:09 +01:00
2021-12-31 13:23:28 +00:00
2021-12-06 10:04:05 +01:00
2021-12-06 10:04:05 +01:00
2018-06-01 12:05:30 +01:00
2021-12-31 13:23:28 +00:00
2020-07-20 15:34:29 +01:00
2020-10-26 15:27:13 +01:00
2020-10-02 21:05:29 +01:00
2021-03-11 13:24:15 +00:00
2021-03-11 13:24:17 +00:00
2021-12-31 13:23:28 +00:00