]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: bcm2835: Return pins to inputs when freed
authorPhil Elwell <phil@raspberrypi.org>
Fri, 6 May 2016 11:32:47 +0000 (12:32 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Nov 2016 23:14:14 +0000 (00:14 +0100)
commit7056e13e431346e2f8d55ab724a1dd39a1155757
tree82897208776b25fb2f284148c5a14480cbf5bb69
parenta2e4d4a8f854f950d38ab235b9db356d3730d82d
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.

Cc: Stefan Wahren <stefan.wahren@i2se.com>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Phil Elwell <phil@raspberrypi.org>
Acked-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/bcm/pinctrl-bcm2835.c