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