gpio/mpc8xxx: fix qoriq GPIO reading
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 19 Nov 2019 13:10:38 +0000 (13:10 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 4 Jan 2020 18:18:18 +0000 (19:18 +0100)
commit3fd185ba5688fbb5191213ab849f03940f3012c6
tree3239700124b6a0f78754889cc8be80b2a6c4746c
parent02270fc85b51a514b55ae6f6b3050de34e159e34
gpio/mpc8xxx: fix qoriq GPIO reading

[ Upstream commit 787b64a43f7acacf8099329ea08872e663f1e74f ]

Qoriq requires the IBE register to be set to enable GPIO inputs to be
read.  Set it.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Link: https://lore.kernel.org/r/E1iX3HC-00069N-0T@rmk-PC.armlinux.org.uk
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpio/gpio-mpc8xxx.c