Hi,

I was trying to get the USB Hub Port Power Switching to work, when I came
across an - apparently - odd behavior:

If CI_HDRC_TURN_VBUS_EARLY_ON is enabled[0], the regulator (reg_vbus) is
not remembered and thus not switchable by the ehci_ci_portpower routine[1]
later on.

Is this behavior intended? If so, what's the reason behind it?

I wanted to ask, before I create a patch, so that patch would be correct.


[0]
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/usb/chipidea/host.c#n140
[1]
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/usb/chipidea/host.c#n30


Best regards,

Leif MIDDELSCHULTE

Reply via email to