RE: [RFC PATCH 1/1] usb: phy: move usb_otg_state from struct usb_phy to struct usb_otg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
> 
> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux