]> git.sur5r.net Git - u-boot/commit
gpio: rmobile: Set GPIO mode in GPSR when requested
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 26 Nov 2017 17:08:53 +0000 (18:08 +0100)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Thu, 30 Nov 2017 01:34:21 +0000 (02:34 +0100)
commit52c8034bb426c69e96474aed8cbd18269c61ba78
tree8a65c5e061bd73882df21004fb02ca9840f2ce20
parentf6e545a73f8842400f76de4b185b31bea782ff85
gpio: rmobile: Set GPIO mode in GPSR when requested

When requesting a GPIO, set the PFC GPSR register to GPIO mode,
otherwise the GPIO cannot work.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
drivers/gpio/gpio-rcar.c