summaryrefslogtreecommitdiffstats
path: root/target/linux/pistachio/patches-6.1/110-pwm-img-fix-clock-lookup.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/pistachio/patches-6.1/110-pwm-img-fix-clock-lookup.patch')
-rw-r--r--target/linux/pistachio/patches-6.1/110-pwm-img-fix-clock-lookup.patch39
1 files changed, 0 insertions, 39 deletions
diff --git a/target/linux/pistachio/patches-6.1/110-pwm-img-fix-clock-lookup.patch b/target/linux/pistachio/patches-6.1/110-pwm-img-fix-clock-lookup.patch
deleted file mode 100644
index d77a2f4259..0000000000
--- a/target/linux/pistachio/patches-6.1/110-pwm-img-fix-clock-lookup.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 58d03770ac5f78ff2d819caabea9371a041bf7be Mon Sep 17 00:00:00 2001
-From: Zoltan HERPAI <wigyori@uid0.hu>
-Date: Wed, 20 Mar 2024 09:36:02 +0100
-Subject: pwm: img: fix pwm clock lookup
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-22e8e19 has introduced a regression in the imgchip->pwm_clk lookup, whereas
-the clock name has also been renamed to "imgchip". This causes the driver
-failing to load:
-
-[ 0.546905] img-pwm 18101300.pwm: failed to get imgchip clock
-[ 0.553418] img-pwm: probe of 18101300.pwm failed with error -2
-
-Fix this lookup by reverting the clock name back to "pwm".
-
-Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
-Link: https://lore.kernel.org/r/20240320083602.81592-1-wigyori@uid0.hu
-Fixes: 22e8e19a46f7 ("pwm: img: Rename variable pointing to driver private data")
-Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
----
- drivers/pwm/pwm-img.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
---- a/drivers/pwm/pwm-img.c
-+++ b/drivers/pwm/pwm-img.c
-@@ -289,9 +289,9 @@ static int img_pwm_probe(struct platform
- return PTR_ERR(imgchip->sys_clk);
- }
-
-- imgchip->pwm_clk = devm_clk_get(&pdev->dev, "imgchip");
-+ imgchip->pwm_clk = devm_clk_get(&pdev->dev, "pwm");
- if (IS_ERR(imgchip->pwm_clk)) {
-- dev_err(&pdev->dev, "failed to get imgchip clock\n");
-+ dev_err(&pdev->dev, "failed to get pwm clock\n");
- return PTR_ERR(imgchip->pwm_clk);
- }
-