Commit 0384ac058376aa2fbac9965e0f2a4ddb5729b37a

Authored by Ashok Reddy Soma
Committed by Michal Simek
1 parent b82d520c34

gpio: zynq: fix issue in set gpio output direction

This patch fixes zynq_gpio_direction() to call driver specific
zynq_gpio_set_value function rather than top level gpio_set_value.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/gpio/zynq_gpio.c
... ... @@ -292,7 +292,7 @@
292 292 writel(reg, platdata->base + ZYNQ_GPIO_OUTEN_OFFSET(bank_num));
293 293  
294 294 /* set the state of the pin */
295   - gpio_set_value(gpio, value);
  295 + zynq_gpio_set_value(dev, gpio, value);
296 296 return 0;
297 297 }
298 298