ASoC: rt1316: fix key tone missing
authorShuming Fan <shumingf@realtek.com>
Wed, 26 Jul 2023 09:10:51 +0000 (09:10 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 26 Jul 2023 11:49:44 +0000 (12:49 +0100)
commit8744776363c370b0eeb0ed50cb0212d7826639b7
tree76affb18824b56876e203535fe49f659bfb6349b
parentf6500ec12c1ec745fbec20fd4734b832bbfd4aac
ASoC: rt1316: fix key tone missing

This patch adds a control that there are three options to control the digital volume output.
The user could select "immediately" to make volume updates immediately
and avoid key tone missing issues.
In default, the driver selects that the volume update when a zero-crossing with a soft ramp.

Signed-off-by: Shuming Fan <shumingf@realtek.com>
Reported-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://lore.kernel.org/r/20230726091051.658754-1-shumingf@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt1316-sdw.c