gpio: zynq: Provided workaround for GPIO
authorSwapna Manupati <swapna.manupati@xilinx.com>
Mon, 7 Aug 2017 11:01:57 +0000 (13:01 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Aug 2017 13:57:06 +0000 (15:57 +0200)
commit06aa09081d44c778309346ae8161841e0c104b7a
tree3ead5cd274280b5be72facd25c1890ad24298eb4
parente11de4de28c077d31235f5afcac91d4b4b0b7a6b
gpio: zynq: Provided workaround for GPIO

This patch provides workaround in the gpio driver
for Zynq and ZynqMP Platforms by reading pin value
of EMIO banks through DATA register as it was unable
to read the value of it from DATA_RO register.

Signed-off-by: Swapna Manupati <swapnam@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-zynq.c