summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/pch_gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/pch_gpio.c')
-rw-r--r--drivers/gpio/pch_gpio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/pch_gpio.c b/drivers/gpio/pch_gpio.c
index 2c6af8705103..f970a5f3585e 100644
--- a/drivers/gpio/pch_gpio.c
+++ b/drivers/gpio/pch_gpio.c
@@ -105,6 +105,7 @@ static int pch_gpio_direction_output(struct gpio_chip *gpio, unsigned nr,
reg_val |= (1 << nr);
else
reg_val &= ~(1 << nr);
+ iowrite32(reg_val, &chip->reg->po);
mutex_unlock(&chip->lock);