> > looks correct. Now that struct usb_otg should handle all otg details, it > makes sense to put the state there. The problem is that a few of the > states aren't really OTG specific. I think the only two otg-specific > states are A_DEVICE and B_HOST... > According to USB_OTG_and_EH_2-0-final_plus_errata_and_ecn_20110714 - final.pdf Chapter7.1, 7,2. The states at enum usb_otg_state are all OTG state.
If you think others (except for A_DEVICE and B_HOST) are not otg-specific states, then what are they? Thanks Peter > So either move this, or rename he enumeration accordingly, dunno. I > guess it would work either way. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html