diff options
Diffstat (limited to 'kernel/drivers/net/phy/mdio-mux-gpio.c')
-rw-r--r-- | kernel/drivers/net/phy/mdio-mux-gpio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/drivers/net/phy/mdio-mux-gpio.c b/kernel/drivers/net/phy/mdio-mux-gpio.c index 66edd99bc..7ddb1ab70 100644 --- a/kernel/drivers/net/phy/mdio-mux-gpio.c +++ b/kernel/drivers/net/phy/mdio-mux-gpio.c @@ -35,7 +35,8 @@ static int mdio_mux_gpio_switch_fn(int current_child, int desired_child, for (n = 0; n < s->gpios->ndescs; n++) values[n] = (desired_child >> n) & 1; - gpiod_set_array_cansleep(s->gpios->ndescs, s->gpios->desc, values); + gpiod_set_array_value_cansleep(s->gpios->ndescs, s->gpios->desc, + values); return 0; } |