summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/ml_ioh_gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/ml_ioh_gpio.c')
-rw-r--r--drivers/gpio/ml_ioh_gpio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/ml_ioh_gpio.c b/drivers/gpio/ml_ioh_gpio.c
index 7f6f01a4b145..0a775f7987c2 100644
--- a/drivers/gpio/ml_ioh_gpio.c
+++ b/drivers/gpio/ml_ioh_gpio.c
@@ -116,6 +116,7 @@ static int ioh_gpio_direction_output(struct gpio_chip *gpio, unsigned nr,
reg_val |= (1 << nr);
else
reg_val &= ~(1 << nr);
+ iowrite32(reg_val, &chip->reg->regs[chip->ch].po);
mutex_unlock(&chip->lock);
OpenPOWER on IntegriCloud