gpio: zynq: Add support for reading gpio pin state
authorMichal Simek <michal.simek@xilinx.com>
Fri, 4 Mar 2016 14:56:50 +0000 (15:56 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 24 May 2016 09:15:00 +0000 (11:15 +0200)
commita6b9587bad47749118229da32c7cc3c25a16d962
treeb468ab357317ac8e8ed07874d1d58f038d74d70a
parent7f307d93ed147fc831425189463d92e50d5c7566
gpio: zynq: Add support for reading gpio pin state

Add zynq_gpio_get_function() which return status on gpio pin.
This function enables gpio status command.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/gpio/zynq_gpio.c