Skip to contentSkip to conversation

ASoC: mediatek: mt8183: skip for i2s5 in mck_disable

PATCH In review Tzung-Bi Shih 2 participants 2 messages Mar 7, 2019 – Mar 18, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: mediatek: mt8183: skip for i2s5 in mck_disable

Skip for i2s5 in mck_disable which is also bypassed in mck_enable.

---
 sound/soc/mediatek/mt8183/mt8183-afe-clk.c | 4 ++++
 1 file changed, 4 insertions(+)
sound/soc/mediatek/mt8183/mt8183-afe-clk.c +4 -0
index f523ad103acc..48e81c5d52fc 100644
@@ -605,6 +605,10 @@ void mt8183_mck_disable(struct mtk_base_afe *afe, int mck_id)
 	int m_sel_id = mck_div[mck_id].m_sel_id;
 	int div_clk_id = mck_div[mck_id].div_clk_id;
 
+	/* i2s5 mck not support */
+	if (mck_id == MT8183_I2S5_MCK)
+		return;
+
 	clk_disable_unprepare(afe_priv->clk[div_clk_id]);
 	if (m_sel_id >= 0)
 		clk_disable_unprepare(afe_priv->clk[m_sel_id]);
Signature · 1 line
2.21.0.352.gf09ad66450-goog
maintainer
#1 lore raw

Applied "ASoC: mediatek: mt8183: skip for i2s5 in mck_disable" to the asoc tree

The patch

ASoC: mediatek: mt8183: skip for i2s5 in mck_disable

has been applied to the asoc tree at

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

Quoted 1 line

From 9729e3b65a64dfe210972223624d8152ba502e98 Mon Sep 17 00:00:00 2001

From: Tzung-Bi Shih <[email protected]>
Date: Thu, 7 Mar 2019 10:35:58 +0800
Subject: [PATCH] ASoC: mediatek: mt8183: skip for i2s5 in mck_disable

Skip for i2s5 in mck_disable which is also bypassed in mck_enable.

---
 sound/soc/mediatek/mt8183/mt8183-afe-clk.c | 4 ++++
 1 file changed, 4 insertions(+)
sound/soc/mediatek/mt8183/mt8183-afe-clk.c +4 -0
index f523ad103acc..48e81c5d52fc 100644
@@ -605,6 +605,10 @@ void mt8183_mck_disable(struct mtk_base_afe *afe, int mck_id)
 	int m_sel_id = mck_div[mck_id].m_sel_id;
 	int div_clk_id = mck_div[mck_id].div_clk_id;
 
+	/* i2s5 mck not support */
+	if (mck_id == MT8183_I2S5_MCK)
+		return;
+
 	clk_disable_unprepare(afe_priv->clk[div_clk_id]);
 	if (m_sel_id >= 0)
 		clk_disable_unprepare(afe_priv->clk[m_sel_id]);
Signature · 1 line
2.20.1