linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG] pinctrl: reg-fixed-voltage usb0-vbus: error -EINVAL: can't get GPIO
@ 2022-01-18 12:50 Corentin Labbe
  2022-01-18 14:13 ` Hans Verkuil
  0 siblings, 1 reply; 4+ messages in thread
From: Corentin Labbe @ 2022-01-18 12:50 UTC (permalink / raw)
  To: linus.walleij, mripard, wens, jernej.skrabec, hverkuil-cisco
  Cc: linux-gpio, linux-arm-kernel, linux-sunxi, linux-kernel, zhangn1985

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-01-28 17:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-18 12:50 [BUG] pinctrl: reg-fixed-voltage usb0-vbus: error -EINVAL: can't get GPIO Corentin Labbe
2022-01-18 14:13 ` Hans Verkuil
2022-01-26 11:03   ` Hans Verkuil
2022-01-28 17:20   ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).