summaryrefslogtreecommitdiff
path: root/drivers/gpio/xilinx_gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/xilinx_gpio.c')
-rw-r--r--drivers/gpio/xilinx_gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/xilinx_gpio.c b/drivers/gpio/xilinx_gpio.c
index 2fb1fe348e..fc460c343e 100644
--- a/drivers/gpio/xilinx_gpio.c
+++ b/drivers/gpio/xilinx_gpio.c
@@ -81,7 +81,7 @@ static int xilinx_gpio_set_value(struct udevice *dev, unsigned offset,
priv->output_val[bank] = val;
- return val;
+ return 0;
};
static int xilinx_gpio_get_value(struct udevice *dev, unsigned offset)