kernel/drivers/gpio/gpio-tps68470.c
.. .. @@ -91,12 +91,12 @@ 91 91 struct tps68470_gpio_data *tps68470_gpio = gpiochip_get_data(gc); 92 92 struct regmap *regmap = tps68470_gpio->tps68470_regmap; 93 93 94 + /* Set the initial value */95 + tps68470_gpio_set(gc, offset, value);96 +94 97 /* rest are always outputs */ 95 98 if (offset >= TPS68470_N_REGULAR_GPIO) 96 99 return 0; 97 -98 - /* Set the initial value */99 - tps68470_gpio_set(gc, offset, value);100 100 101 101 return regmap_update_bits(regmap, TPS68470_GPIO_CTL_REG_A(offset), 102 102 TPS68470_GPIO_MODE_MASK,