summaryrefslogtreecommitdiffstats
path: root/target/linux/bcm27xx/patches-6.6/950-1205-fixup-pinctrl-bcm2712-pinctrl-pinconf-driver.patch
blob: fb786e172e68b51732c9679895ef71bdd8b054cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From a4bf61fad9fe102514243ed263c458b053c87681 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Fri, 2 Aug 2024 11:29:03 +0100
Subject: [PATCH 1205/1215] fixup! pinctrl: bcm2712 pinctrl/pinconf driver

Fix cut-and-paste error spotted during upstreaming process.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
---
 drivers/pinctrl/bcm/pinctrl-bcm2712.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/pinctrl/bcm/pinctrl-bcm2712.c
+++ b/drivers/pinctrl/bcm/pinctrl-bcm2712.c
@@ -1029,7 +1029,7 @@ static int bcm2712_pinconf_get(struct pi
 
 	*config = pinconf_to_config_packed(param, arg);
 
-	return -ENOTSUPP;
+	return 0;
 }
 
 static int bcm2712_pinconf_set(struct pinctrl_dev *pctldev,