summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2023-01-31 12:46:51 -0600
committerMark Brown <broonie@kernel.org>2023-02-02 11:42:25 +0000
commit99ecc7889bee68fdf377f328c21ad0f953f8b05e (patch)
tree05dbdb4c4e8c04a15e8f65eedb436a1e46e5068f /sound
parentb7d8d4ec80ee380a82d6748c1d4e9fd89ce6e595 (diff)
downloadlinux-stable-99ecc7889bee68fdf377f328c21ad0f953f8b05e.tar.gz
linux-stable-99ecc7889bee68fdf377f328c21ad0f953f8b05e.tar.bz2
linux-stable-99ecc7889bee68fdf377f328c21ad0f953f8b05e.zip
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: Mario Limonciello <mario.limonciello@amd.com> Reviewed-by: Jaroslav Kysela <perex@perex.cz> Link: https://lore.kernel.org/r/20230131184653.10216-6-mario.limonciello@amd.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/amd/ps/acp63.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/amd/ps/acp63.h b/sound/soc/amd/ps/acp63.h
index b7535c7d093f..893a0455cf24 100644
--- a/sound/soc/amd/ps/acp63.h
+++ b/sound/soc/amd/ps/acp63.h
@@ -29,7 +29,7 @@
#define ACP_ERROR_STAT 29
#define PDM_DECIMATION_FACTOR 2
#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_DISABLE 0
#define ACP_PDM_DMA_EN_STATUS 2