Message ID | 1547216273-19433-3-git-send-email-paolo.pisati@canonical.com |
---|---|
State | New |
Headers | show |
Series | Fix led triggers on Rpi3b+ | expand |
diff --git a/drivers/gpio/gpio-bcm-exp.c b/drivers/gpio/gpio-bcm-exp.c index 681a914..d68adaf 100644 --- a/drivers/gpio/gpio-bcm-exp.c +++ b/drivers/gpio/gpio-bcm-exp.c @@ -165,8 +165,6 @@ static void brcmexp_gpio_set(struct gpio_chip *gc, unsigned int off, int val) gpio = container_of(gc, struct brcmexp_gpio, gc); - off += gpio->gc.base; - set.gpio = off + gpio->gc.base; /* GPIO to update */ set.state = val; /* Output state */