[PATCH v3 07/13] usb: hub: Use usb_hub_set_port_power() to control port power everywhere

Bartosz Golaszewski brgl at kernel.org
Fri Jul 3 05:12:52 PDT 2026


On Fri, 3 Jul 2026 13:03:08 +0200, Chen-Yu Tsai <wenst at chromium.org> said:
> There are still some instances in the USB hub driver where port power is
> directly controlled by toggling the USB_PORT_FEAT_POWER feature flag.
>
> Switch these instances over to usb_hub_set_port_power() so that only one
> unified function to do this exists. This makes adding external power
> control with the power sequencing API easier and consistently applied.
>
> Signed-off-by: Chen-Yu Tsai <wenst at chromium.org>
> ---

Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski at oss.qualcomm.com>



More information about the linux-arm-kernel mailing list