Skip to content

Commit 7a33a93

Browse files
shumingfangregkh
authored andcommitted
ASoC: rt721: fix FU33 Boost Volume control not working
[ Upstream commit 633e391 ] This patch fixed FU33 Boost Volume control not working. Signed-off-by: Shuming Fan <shumingf@realtek.com> Link: https://patch.msgid.link/20250808055706.1110766-1-shumingf@realtek.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 880bcc7 commit 7a33a93

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

sound/soc/codecs/rt721-sdca.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,8 @@ static void rt721_sdca_jack_preset(struct rt721_sdca_priv *rt721)
278278
RT721_ENT_FLOAT_CTL1, 0x4040);
279279
rt_sdca_index_write(rt721->mbq_regmap, RT721_HDA_SDCA_FLOAT,
280280
RT721_ENT_FLOAT_CTL4, 0x1201);
281+
rt_sdca_index_write(rt721->mbq_regmap, RT721_BOOST_CTRL,
282+
RT721_BST_4CH_TOP_GATING_CTRL1, 0x002a);
281283
regmap_write(rt721->regmap, 0x2f58, 0x07);
282284
}
283285

sound/soc/codecs/rt721-sdca.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ struct rt721_sdca_dmic_kctrl_priv {
5656
#define RT721_CBJ_CTRL 0x0a
5757
#define RT721_CAP_PORT_CTRL 0x0c
5858
#define RT721_CLASD_AMP_CTRL 0x0d
59+
#define RT721_BOOST_CTRL 0x0f
5960
#define RT721_VENDOR_REG 0x20
6061
#define RT721_RC_CALIB_CTRL 0x40
6162
#define RT721_VENDOR_EQ_L 0x53
@@ -93,6 +94,9 @@ struct rt721_sdca_dmic_kctrl_priv {
9394
/* Index (NID:0dh) */
9495
#define RT721_CLASD_AMP_2CH_CAL 0x14
9596

97+
/* Index (NID:0fh) */
98+
#define RT721_BST_4CH_TOP_GATING_CTRL1 0x05
99+
96100
/* Index (NID:20h) */
97101
#define RT721_JD_PRODUCT_NUM 0x00
98102
#define RT721_ANALOG_BIAS_CTL3 0x04

0 commit comments

Comments
 (0)