[BUG] pinctrl: reg-fixed-voltage usb0-vbus: error -EINVAL: can't get GPIO

Corentin Labbe clabbe.montjoie at gmail.com
Tue Jan 18 04:50:52 PST 2022


Hello

As reported on old googlegroup sunxi mainling list, on linux-next-20220118, USB storage fail to bring up on orangepiPC.
We can see some error logs in dmesg:
reg-fixed-voltage usb0-vbus: error -EINVAL: can't get GPIO
reg-fixed-voltage: probe of usb0-vbus failed with error -22

This is bisected to: 8df89a7cbc63c7598c00611ad17b67e8d5b4fad3 pinctrl-sunxi: don't call pinctrl_gpio_direction()

Reverting this commit lead to a working USB storage being setuped.

Regards



More information about the linux-arm-kernel mailing list