commit | 44edff1bbc48595a041f65a725203763e3590a73 | [log] [tgz] |
---|---|---|
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | Thu Mar 22 13:35:00 2018 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon Mar 26 11:04:48 2018 +0200 |
tree | 4414df946cfb0cd3c7423edf70b658a026b5c7af | |
parent | e6c462d3ecc69a23802f588d53abec003f2d35c1 [diff] |
pinctrl: ocelot: fix gpio direction Bits have to be cleared in DEVCPU_GCB:GPIO:GPIO_OE for input and set for output. ocelot_gpio_set_direction() got it wrong and this went unnoticed when the driver was reworked. Reported-by: Gregory Clement <gregory.clement@bootlin.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Acked-by: Gregory CLEMENT <gregory.clement@bootlin.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>