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]

 



>
>We can introduce another method in otg_transceiver struct for notifying
>error from gadget and
>host (includes USB core). We can provide a utility in drivers/usb/otg.c
>to send these events
>to userspace via uevents. I have worked on OTG2.0 for MSM chip sets. I
>am in a process of sending
>the basic driver patches to upstream. But if you like the idea
>implemented in the below patches, I
>can send them now so that your driver can use them. The below patches
>introduce a method called
>"send_event" in otg_transceiver struct and provided a wrapper called
>otg_send_event(struct otg, event)
>for USB core. The actual send_event is implemented in msm72k_otg.c But I
>can move it to drivers/usb/otg.c
>so that all OTG drivers can use the same function. The name "send_event"
>also has to be changed. may be
>"notify_error" or some thing like that is more appropriate.
>
>https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commitdiff;h=f62a
>5d49535fb31d0824b024863dde0e32ebc84a
>
>https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commitdiff;h=2a99
>4bdea09cf2d331fe69e423b7c9fe1845242e
>
>https://www.codeaurora.org/gitweb/quic/la/?p=kernel/msm.git;a=commitdiff;h=2a99
>4bdea09cf2d331fe69e423b7c9fe1845242e
>

Thanks for sharing this. It sounds good to me.

Hao
--
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