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/arch/powerpc/include/asm/imc-pmu.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/arch/powerpc/include/asm/imc-pmu.h b/kernel/arch/powerpc/include/asm/imc-pmu.h
index 4f89799..699a885 100644
--- a/kernel/arch/powerpc/include/asm/imc-pmu.h
+++ b/kernel/arch/powerpc/include/asm/imc-pmu.h
@@ -137,7 +137,7 @@
  * are inited.
  */
 struct imc_pmu_ref {
-	struct mutex lock;
+	spinlock_t lock;
 	unsigned int id;
 	int refc;
 };

--
Gitblit v1.6.2