Commit 99ecc788 authored by Mario Limonciello's avatar Mario Limonciello Committed by Mark Brown

ASoC: amd: ps: Adjust the gain for PDM DMIC

No issues have been reported yet for DMIC audio level on ps platforms,
but as problems were found both on YC (Rembrandt) and Renoir based
designs it's very likely they happen on ps too.

Increase the PDM gain to solve this problem.
Signed-off-by: default avatarMario Limonciello <mario.limonciello@amd.com>
Reviewed-by: default avatarJaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20230131184653.10216-6-mario.limonciello@amd.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent b7d8d4ec
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#define ACP_ERROR_STAT 29 #define ACP_ERROR_STAT 29
#define PDM_DECIMATION_FACTOR 2 #define PDM_DECIMATION_FACTOR 2
#define ACP_PDM_CLK_FREQ_MASK 7 #define ACP_PDM_CLK_FREQ_MASK 7
#define ACP_WOV_MISC_CTRL_MASK 0x10 #define ACP_WOV_MISC_CTRL_MASK 0x18
#define ACP_PDM_ENABLE 1 #define ACP_PDM_ENABLE 1
#define ACP_PDM_DISABLE 0 #define ACP_PDM_DISABLE 0
#define ACP_PDM_DMA_EN_STATUS 2 #define ACP_PDM_DMA_EN_STATUS 2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment