From 645e752c5a84baeb21015cdc85fc05b7d16312c8 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Sat, 11 May 2024 01:13:52 +0000
Subject: [PATCH] disable i2c1

---
 kernel/drivers/soc/amlogic/meson-secure-pwrc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/drivers/soc/amlogic/meson-secure-pwrc.c b/kernel/drivers/soc/amlogic/meson-secure-pwrc.c
index 2eeea5e..2f3ca55 100644
--- a/kernel/drivers/soc/amlogic/meson-secure-pwrc.c
+++ b/kernel/drivers/soc/amlogic/meson-secure-pwrc.c
@@ -104,7 +104,7 @@
 	SEC_PD(ACODEC,	0),
 	SEC_PD(AUDIO,	0),
 	SEC_PD(OTP,	0),
-	SEC_PD(DMA,	0),
+	SEC_PD(DMA,	GENPD_FLAG_ALWAYS_ON | GENPD_FLAG_IRQ_SAFE),
 	SEC_PD(SD_EMMC,	0),
 	SEC_PD(RAMA,	0),
 	/* SRAMB is used as ATF runtime memory, and should be always on */

--
Gitblit v1.6.2