Searched refs:powstate (Results 1 – 1 of 1) sorted by relevance
1319 int powstate = !(dev->gadget.state == USB_STATE_NOTATTACHED || in gr_handle_state_changes() local1323 if (!powstate && (status & GR_STATUS_VB)) { in gr_handle_state_changes()1330 if (powstate && !(status & GR_STATUS_VB)) { in gr_handle_state_changes()