diff options
Diffstat (limited to 'drivers/gpio/langwell_gpio.c')
-rw-r--r-- | drivers/gpio/langwell_gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/langwell_gpio.c b/drivers/gpio/langwell_gpio.c index 560ab648cf18..1b06f67e1f69 100644 --- a/drivers/gpio/langwell_gpio.c +++ b/drivers/gpio/langwell_gpio.c | |||
@@ -122,7 +122,7 @@ static int lnw_gpio_direction_output(struct gpio_chip *chip, | |||
122 | lnw_gpio_set(chip, offset, value); | 122 | lnw_gpio_set(chip, offset, value); |
123 | spin_lock_irqsave(&lnw->lock, flags); | 123 | spin_lock_irqsave(&lnw->lock, flags); |
124 | value = readl(gpdr); | 124 | value = readl(gpdr); |
125 | value |= BIT(offset % 32);; | 125 | value |= BIT(offset % 32); |
126 | writel(value, gpdr); | 126 | writel(value, gpdr); |
127 | spin_unlock_irqrestore(&lnw->lock, flags); | 127 | spin_unlock_irqrestore(&lnw->lock, flags); |
128 | return 0; | 128 | return 0; |