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, 23 Jul 2017 02:18:10 +0000 (02:18 +0000)
commitdef4e870c361d5e7cc7bbc02862df47862c28b1d
tree8c7698426509ebbc461593bc48f1b4d3a217b28e
parent67d4edb41c0bc009c17785ab1b31f88c2f68956b
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