Commit 42cc3125 authored by Ye Li's avatar Ye Li Committed by Heiko Schocher
Browse files

i2c-mux-gpio: Fix GPIO request flag issue

When requesting GPIO, the GPIOD_IS_OUT is missed in flag, so the GPIO
is set the input mode not output and cause mux not work.
Signed-off-by: default avatarYe Li <>
parent d39221f3
......@@ -106,7 +106,7 @@ static int i2c_mux_gpio_probe(struct udevice *dev)
ret = gpio_request_list_by_name(dev, "mux-gpios", gpios, mux->n_gpios,
if (ret <= 0) {
dev_err(dev, "Failed to request mux-gpios\n");
return ret;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment