Skip to content

Commit

Permalink
pinctrl: bcm2835: Persist outputs by default
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
pelwell authored and popcornmix committed Jun 3, 2024
1 parent 10bbdff commit 16013c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pinctrl/bcm/pinctrl-bcm2835.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down

0 comments on commit 16013c6

Please sign in to comment.