ASoC: amd: add logic to check dmic hardware runtime
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>
Thu, 2 Jul 2020 17:26:52 +0000 (22:56 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 3 Jul 2020 16:33:45 +0000 (17:33 +0100)
commit9e0d21e1210ffe27682a5ef71209af57f975b0d3
treec49efb1b6514420f32c950f606ed0166aae61402
parent59b44649a8f2380dfbf282db9922ef863c8812a6
ASoC: amd: add logic to check dmic hardware runtime

Add logic to check DMIC hardware exists or not on
the platform at runtime.

Add module param for overriding DMIC hardware check
at runtime.

Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://lore.kernel.org/r/1593710826-1106-1-git-send-email-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/renoir/rn-pci-acp3x.c
sound/soc/amd/renoir/rn_acp3x.h