pinctrl: bcm2835: Only return non-GPIOs to inputs
authorPhil Elwell <phil@raspberrypi.com>
Wed, 30 Mar 2022 08:48:41 +0000 (09:48 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:20 +0000 (11:33 +0000)
commit7c0c3b8cfea81474dc7b512a9c0f527ae5c1e7c9
tree35a48c9e4e18c129c73732960a6f8f049cda44a4
parent05f160e58b8841f9afeb9f91717b651a8ee4807f
pinctrl: bcm2835: Only return non-GPIOs to inputs

Allowing GPIO state to persist allows the use of gpioset to control
GPIO levels without having to use the --mode=wait feature.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
drivers/pinctrl/bcm/pinctrl-bcm2835.c