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>
Sun, 8 Oct 2017 00:59:41 +0000 (00:59 +0000)
commit1c562573ae2f9d0207abfd8cb46593560c58e26e
treef577328fd95b9c8ae848e84a685d4453c2811191
parent2605e958dd2eac462e1c4b30b49e9580c4464f1c
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