mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 01:28:59 +00:00
8c405cdccc
The patches were generated from the RPi repo with the following command: git format-patch v6.6.34..rpi-6.1.y Some patches needed rebasing and, as usual, the applied and reverted, wireless drivers, Github workflows, READMEs and defconfigs patches were removed. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
27 lines
939 B
Diff
27 lines
939 B
Diff
From f2bbda840bd0cdc0cfa8816ab8e5b9ac9b7aa459 Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.com>
|
|
Date: Tue, 7 May 2024 12:14:12 +0100
|
|
Subject: [PATCH 1081/1085] pinctrl: bcm2835: Persist outputs by default
|
|
|
|
Having accepted the upstream change to add the persist_gpio_outputs
|
|
parameter, make it true by default.
|
|
|
|
See: https://github.com/raspberrypi/linux/pull/6117
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
|
---
|
|
drivers/pinctrl/bcm/pinctrl-bcm2835.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/drivers/pinctrl/bcm/pinctrl-bcm2835.c
|
|
+++ b/drivers/pinctrl/bcm/pinctrl-bcm2835.c
|
|
@@ -244,7 +244,7 @@ static const char * const irq_type_names
|
|
[IRQ_TYPE_LEVEL_LOW] = "level-low",
|
|
};
|
|
|
|
-static bool persist_gpio_outputs;
|
|
+static bool persist_gpio_outputs = true;
|
|
module_param(persist_gpio_outputs, bool, 0644);
|
|
MODULE_PARM_DESC(persist_gpio_outputs, "Enable GPIO_OUT persistence when pin is freed");
|
|
|