Scroll to navigation

USB_ROOT_HUB_LOST_PO(9) USB Core APIs USB_ROOT_HUB_LOST_PO(9)

NAME

usb_root_hub_lost_power - called by HCD if the root hub lost Vbus power

SYNOPSIS

void usb_root_hub_lost_power(struct usb_device * rhdev);

ARGUMENTS

rhdev
struct usb_device for the root hub

DESCRIPTION

The USB host controller driver calls this function when its root hub is resumed and Vbus power has been interrupted or the controller has been reset. The routine marks rhdev as having lost power. When the hub driver is resumed it will take notice and carry out power-session recovery for all the “USB-PERSIST”-enabled child devices; the others will be disconnected.

COPYRIGHT

April 2019 Kernel Hackers Manual 4.9.