mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
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>
This commit is contained in:
@@ -245,7 +245,7 @@ static const char * const irq_type_names[] = {
|
|||||||
[IRQ_TYPE_LEVEL_LOW] = "level-low",
|
[IRQ_TYPE_LEVEL_LOW] = "level-low",
|
||||||
};
|
};
|
||||||
|
|
||||||
static bool persist_gpio_outputs;
|
static bool persist_gpio_outputs = true;
|
||||||
module_param(persist_gpio_outputs, bool, 0444);
|
module_param(persist_gpio_outputs, bool, 0444);
|
||||||
MODULE_PARM_DESC(persist_gpio_outputs, "Enable GPIO_OUT persistence when pin is freed");
|
MODULE_PARM_DESC(persist_gpio_outputs, "Enable GPIO_OUT persistence when pin is freed");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user