mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
ASoC: rt721: fix prepare clock stop failed
This patch adds settings to prevent the 'prepare clock stop failed' error. Signed-off-by: Shuming Fan <shumingf@realtek.com> Link: https://patch.msgid.link/20251027103333.38353-1-shumingf@realtek.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
@@ -281,6 +281,10 @@ static void rt721_sdca_jack_preset(struct rt721_sdca_priv *rt721)
|
||||
rt_sdca_index_write(rt721->mbq_regmap, RT721_BOOST_CTRL,
|
||||
RT721_BST_4CH_TOP_GATING_CTRL1, 0x002a);
|
||||
regmap_write(rt721->regmap, 0x2f58, 0x07);
|
||||
|
||||
regmap_write(rt721->regmap, 0x2f51, 0x00);
|
||||
rt_sdca_index_write(rt721->mbq_regmap, RT721_HDA_SDCA_FLOAT,
|
||||
RT721_MISC_CTL, 0x0004);
|
||||
}
|
||||
|
||||
static void rt721_sdca_jack_init(struct rt721_sdca_priv *rt721)
|
||||
|
||||
@@ -137,6 +137,7 @@ struct rt721_sdca_dmic_kctrl_priv {
|
||||
#define RT721_HDA_LEGACY_UAJ_CTL 0x02
|
||||
#define RT721_HDA_LEGACY_CTL1 0x05
|
||||
#define RT721_HDA_LEGACY_RESET_CTL 0x06
|
||||
#define RT721_MISC_CTL 0x07
|
||||
#define RT721_XU_REL_CTRL 0x0c
|
||||
#define RT721_GE_REL_CTRL1 0x0d
|
||||
#define RT721_HDA_LEGACY_GPIO_WAKE_EN_CTL 0x0e
|
||||
|
||||
Reference in New Issue
Block a user