pinctrl-bcm2835: Return pins to inputs when freed
authorPhil Elwell <phil@raspberrypi.org>
Fri, 6 May 2016 11:32:47 +0000 (12:32 +0100)
committerRaspbian kernel package updater <root@raspbian.org>
Sat, 31 Mar 2018 14:44:48 +0000 (15:44 +0100)
commit97fcefd3bbb5563921edd60ff6f912fe34a9f706
treef0bb49f1df91416df6b6a2b30938baaf1d333d36
parenteee6e13e6c5c445c81493433fcd062289c929131
pinctrl-bcm2835: Return pins to inputs when freed

When dynamically unloading overlays, it is important that freed pins are
restored to being inputs to prevent functions from being enabled in
multiple places at once.

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