ASoC: rt1316: fix key tone missing
Subsystems (3)
PATCH 2/2 ASoC: rt1316: fix key tone missing
From: Shuming Fan <[email protected]>
This patch disables the soft ramp to output immediately.
--- sound/soc/codecs/rt1316-sdw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/rt1316-sdw.c +1 -1
@@ -134,7 +134,7 @@ static const struct reg_sequence rt1316_blind_write[] = { { 0xc093, 0x80 }, { 0xc09d, 0x80 }, { 0xc0b0, 0x77 }, - { 0xc010, 0xa5 }, + { 0xc010, 0x25 }, { 0xc050, 0x83 }, { 0x2f55, 0x03 }, { 0x3217, 0xb5 },
Signature · 1 line
2.34.1
Mark Brown
maintainersound/soc/codecs/rt1316-sdw.c static const struct reg_sequence rt1316_blind_write[] = { · line 138
Quoted 9 lines · On Fri, Jul 21, 2023 at 04:18:07PM +0800, [email protected] wrote:
From: Shuming Fan <[email protected]>
This patch disables the soft ramp to output immediately.
sound/soc/codecs/rt1316-sdw.c +1
-1{ 0xc09d, 0x80 }, { 0xc0b0, 0x77 }, - { 0xc010, 0xa5 }, + { 0xc010, 0x25 }, { 0xc050, 0x83 },
This should probably be an actual control not something patched into the registers - some users might prefer toe soft ramp.
Quoted 4 lines
Quoted 3 lines
From: Shuming Fan <[email protected]>
This patch disables the soft ramp to output immediately.
Quoted 8 lines
sound/soc/codecs/rt1316-sdw.c static const struct reg_sequence rt1316_blind_write[] = { · line 138
Quoted 5 lines
sound/soc/codecs/rt1316-sdw.c +1
-1{ 0xc09d, 0x80 }, { 0xc0b0, 0x77 }, - { 0xc010, 0xa5 }, + { 0xc010, 0x25 }, { 0xc050, 0x83 },This should probably be an actual control not something patched into the registers - some users might prefer toe soft ramp.
Got it. I will add a mixer control for it. Thanks.
Quoted 1 line
------Please consider the environment before printing this e-mail.