ASoC: AMD: Use mixer control to switch between DMICs
authorAkshu Agrawal <akshu.agrawal@amd.com>
Sat, 30 May 2020 09:55:06 +0000 (15:25 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 15 Jun 2020 19:58:41 +0000 (20:58 +0100)
commitb7a742cff3f618d848e62e5a1ade0ff816e93092
tree6cf9c657d695d4daad3be1f4ac1fa9e8c61ef299
parent9ba4af79c94b184c1a9b3c637511e6ffcb4fa09d
ASoC: AMD: Use mixer control to switch between DMICs

Having mixer control to switch between DMICs prevents user to
initiate capture simultaneously on both the DMIcs.
Earlier 2 separate devices, one for each DMIC, gave an option of
using them simultaneously, which is not supported.

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