diff options
author | Vijendar Mukunda <Vijendar.Mukunda@amd.com> | 2020-07-02 22:56:52 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-07-03 17:33:45 +0100 |
commit | 9e0d21e1210ffe27682a5ef71209af57f975b0d3 (patch) | |
tree | c49efb1b6514420f32c950f606ed0166aae61402 /sound/soc/amd/renoir/rn_acp3x.h | |
parent | 59b44649a8f2380dfbf282db9922ef863c8812a6 (diff) |
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>
Diffstat (limited to 'sound/soc/amd/renoir/rn_acp3x.h')
-rw-r--r-- | sound/soc/amd/renoir/rn_acp3x.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/amd/renoir/rn_acp3x.h b/sound/soc/amd/renoir/rn_acp3x.h index 75228e306e0b..14620399d766 100644 --- a/sound/soc/amd/renoir/rn_acp3x.h +++ b/sound/soc/amd/renoir/rn_acp3x.h @@ -55,6 +55,8 @@ #define MAX_BUFFER (CAPTURE_MAX_PERIOD_SIZE * CAPTURE_MAX_NUM_PERIODS) #define MIN_BUFFER MAX_BUFFER +#define ACP_DMIC_AUTO -1 + struct pdm_dev_data { u32 pdm_irq; void __iomem *acp_base; |