Skip to content

Commit 5e78cc4

Browse files
pelwellpopcornmix
authored andcommitted
pinctrl: bcm2835: Persist outputs by default
Having accepted the upstream change to add the persist_gpio_outputs parameter, make it true by default. See: #6117 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
1 parent 4c18369 commit 5e78cc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pinctrl/bcm/pinctrl-bcm2835.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ static const char * const irq_type_names[] = {
245245
[IRQ_TYPE_LEVEL_LOW] = "level-low",
246246
};
247247

248-
static bool persist_gpio_outputs;
248+
static bool persist_gpio_outputs = true;
249249
module_param(persist_gpio_outputs, bool, 0444);
250250
MODULE_PARM_DESC(persist_gpio_outputs, "Enable GPIO_OUT persistence when pin is freed");
251251

0 commit comments

Comments
 (0)