pinctrl-bcm2835: Return pins to inputs when freed
authorPhil Elwell <phil@raspberrypi.org>
Fri, 6 May 2016 11:32:47 +0000 (12:32 +0100)
committerpopcornmix <popcornmix@gmail.com>
Mon, 20 Feb 2017 12:17:39 +0000 (12:17 +0000)
commit3d696cd1e30fd3fa0ff5856ed32e04b9ad8d50bd
tree63704362ded01221f9afd9685d3c32ad12d318e7
parent14dad63ba5bf0332a947c59211b20ee38b8eea17
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