Re: [PATCH 2/21] ehci: Support for Intel Moorestown MPH and OTG host

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

 



On 12/3/2010 2:38 PM, Wu, Hao wrote:
>need events like HNP FAILED, No response for HNP enable request, and NOT
>found in TPL etc. So I prefer
>to define an enum for OTG event instead of using USB_DEVICE_ADD and
>USB_DEVICE_REMOVE.
Actually I have defined some OTG events in linux/usb/intel_mid_otg.h, they are used in intel langwell/penwell otg_transceiver driver.
I think I can purpose them for common usage, only minor concern here is that maybe different platforms/otg implementations may need different events to be defined.


I think, we should limit them to OTG spec events which are required to transition states, start/stop timers and user space notifications like the B-device is not in TPL, HUB class
not supported, HNP available etc

--
Sent by a consultant of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
--
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