summaryrefslogtreecommitdiff
path: root/sound/soc/amd/yc/acp6x.h
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2023-01-31 12:46:48 -0600
committerMark Brown <broonie@kernel.org>2023-02-02 11:42:22 +0000
commit02ea45d10fab99040c87d0267656930accb91e3c (patch)
treeb6bfa181b0e3262eb911922aa67ed436f8adc2e5 /sound/soc/amd/yc/acp6x.h
parent6d6f62c868a8ad9c451c22f9f20f08a6149f8487 (diff)
ASoC: amd: yc: Add a module parameter to influence pdm_gain
In case of regressions for any users that the new pdm_gain value is too high and for additional debugging, introduce a module parameter that would let them configure it. This parameter should be removed in the future: * If it's determined that the parameter is not needed, just hardcode the correct value as before * If users do end up using it to debug and report different values we should introduce a config knob that can have policy set by ucm. Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Reviewed-by: Jaroslav Kysela <perex@perex.cz> Link: https://lore.kernel.org/r/20230131184653.10216-3-mario.limonciello@amd.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd/yc/acp6x.h')
-rw-r--r--sound/soc/amd/yc/acp6x.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/amd/yc/acp6x.h b/sound/soc/amd/yc/acp6x.h
index 846ca10e24d3..036207568c04 100644
--- a/sound/soc/amd/yc/acp6x.h
+++ b/sound/soc/amd/yc/acp6x.h
@@ -31,7 +31,7 @@
#define ACP_ERROR_STAT 29
#define PDM_DECIMATION_FACTOR 2
#define ACP_PDM_CLK_FREQ_MASK 7
-#define ACP_WOV_MISC_CTRL_MASK 0x18
+#define ACP_WOV_GAIN_CONTROL GENMASK(4, 3)
#define ACP_PDM_ENABLE 1
#define ACP_PDM_DISABLE 0
#define ACP_PDM_DMA_EN_STATUS 2