From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 04 Jan 2024 10:08:02 +0000
Subject: [PATCH] disable FB
---
kernel/drivers/clk/renesas/r9a06g032-clocks.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/kernel/drivers/clk/renesas/r9a06g032-clocks.c b/kernel/drivers/clk/renesas/r9a06g032-clocks.c
index 245150a..285f6ac 100644
--- a/kernel/drivers/clk/renesas/r9a06g032-clocks.c
+++ b/kernel/drivers/clk/renesas/r9a06g032-clocks.c
@@ -386,7 +386,7 @@
int error;
int index;
- while (!of_parse_phandle_with_args(np, "clocks", "#clock-cells", i,
+ while (!of_parse_phandle_with_args(np, "clocks", "#clock-cells", i++,
&clkspec)) {
if (clkspec.np != pd->dev.of_node)
continue;
@@ -399,7 +399,6 @@
if (error)
return error;
}
- i++;
}
return 0;
--
Gitblit v1.6.2