X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=drivers%2Fgpio%2Fgpio-tps65910.c;h=91f45b965d1e812d542e81d2c81ab6e60ae52843;hb=4a247a4119ee932e06e985e0a95a13c3eed4715b;hp=b9c1c297669e64a167a9257021a82d54e1f854c5;hpb=73692d9bb58ecc2fa73f4b2bfcf6eadaa6d49a26;p=~andy%2Flinux diff --git a/drivers/gpio/gpio-tps65910.c b/drivers/gpio/gpio-tps65910.c index b9c1c297669..91f45b965d1 100644 --- a/drivers/gpio/gpio-tps65910.c +++ b/drivers/gpio/gpio-tps65910.c @@ -52,7 +52,7 @@ static int tps65910_gpio_output(struct gpio_chip *gc, unsigned offset, struct tps65910 *tps65910 = container_of(gc, struct tps65910, gpio); /* Set the initial value */ - tps65910_gpio_set(gc, 0, value); + tps65910_gpio_set(gc, offset, value); return tps65910_set_bits(tps65910, TPS65910_GPIO0 + offset, GPIO_CFG_MASK);