[PATCH] soc: mediatek: mutex: add suffix 0 to DDP_COMPONENT_DITHER for mt8395

Jason-JH.Lin jason-jh.lin at mediatek.com
Wed Jun 22 06:19:52 PDT 2022


Add suffix 0 to DDP_COMPONENT_DITHER for mt8395.

Fixes: 141311b856d8 ("soc: mediatek: mutex: add MT8365 support")
Signed-off-by: Jason-JH.Lin <jason-jh.lin at mediatek.com>
---
 drivers/soc/mediatek/mtk-mutex.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/soc/mediatek/mtk-mutex.c b/drivers/soc/mediatek/mtk-mutex.c
index fa8e0ba38803..3b25fd6b91aa 100644
--- a/drivers/soc/mediatek/mtk-mutex.c
+++ b/drivers/soc/mediatek/mtk-mutex.c
@@ -130,7 +130,7 @@
 #define MT8365_MUTEX_MOD_DISP_CCORR		13
 #define MT8365_MUTEX_MOD_DISP_AAL		14
 #define MT8365_MUTEX_MOD_DISP_GAMMA		15
-#define MT8365_MUTEX_MOD_DISP_DITHER		16
+#define MT8365_MUTEX_MOD_DISP_DITHER0		16
 #define MT8365_MUTEX_MOD_DISP_DSI0		17
 #define MT8365_MUTEX_MOD_DISP_PWM0		20
 #define MT8365_MUTEX_MOD_DISP_DPI0		22
@@ -358,7 +358,7 @@ static const unsigned int mt8365_mutex_mod[DDP_COMPONENT_ID_MAX] = {
 	[DDP_COMPONENT_AAL0] = MT8365_MUTEX_MOD_DISP_AAL,
 	[DDP_COMPONENT_CCORR] = MT8365_MUTEX_MOD_DISP_CCORR,
 	[DDP_COMPONENT_COLOR0] = MT8365_MUTEX_MOD_DISP_COLOR0,
-	[DDP_COMPONENT_DITHER] = MT8365_MUTEX_MOD_DISP_DITHER,
+	[DDP_COMPONENT_DITHER0] = MT8365_MUTEX_MOD_DISP_DITHER0,
 	[DDP_COMPONENT_DPI0] = MT8365_MUTEX_MOD_DISP_DPI0,
 	[DDP_COMPONENT_DSI0] = MT8365_MUTEX_MOD_DISP_DSI0,
 	[DDP_COMPONENT_GAMMA] = MT8365_MUTEX_MOD_DISP_GAMMA,
-- 
2.18.0




More information about the linux-arm-kernel mailing list