ASoc: amd: Add DMIC switch capability to machine driver
authorAkshu Agrawal <akshu.agrawal@amd.com>
Mon, 2 Mar 2020 08:24:36 +0000 (13:54 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 2 Mar 2020 14:31:44 +0000 (14:31 +0000)
commit72c3b2b09fcdaa6a63e17e9a715e2a8236af529a
treee7efb1c457473a674f0b5e5060b6d44f69874458
parent787c5214ea6f6e9b7c75ae670d6b6a7deecb2d45
ASoc: amd: Add DMIC switch capability to machine driver

Switch between DMIC0 and DMIC1 based on recording device selected.
This is done by toggling the dmic select gpio.

Signed-off-by: Akshu Agrawal <akshu.agrawal@amd.com>
Link: https://lore.kernel.org/r/20200302082443.51587-1-akshu.agrawal@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp3x-rt5682-max9836.c