This repository has been archived on 2026-03-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
ubports_kernel_google_msm/include/linux
Pavankumar Kondeti 6d746582c3 USB: otg: Add support for sending events to userspace
OTG specification insists no silent failures.  Add framework
for sending OTG failures/notifications to userspace.

The following events are defined in usb_otg_event type.
OTG_EVENT_DEV_CONN_TMOUT: Device connection timeout or device
	not responing.
OTG_EVENT_NO_RESP_FOR_HNP_ENABLE: Device is not responding to
	B_HNP_ENABLE feature request.
OTG_EVENT_HUB_NOT_SUPPORTED: Host does not support HUB class
	peripherals.
OTG_EVENT_DEV_NOT_SUPPORTED: Host does not support the attached
	peripheral.
OTG_EVENT_HNP_FAILED: HNP failed due to not meeting protocol
	timings.
OTG_EVENT_NO_RESP_FOR_SRP: No Response for B-device SRP request.

This patch adds a new method called send_event in otg_transceiver
structure.  OTG driver is notified about the event via send_event
method.  It is the responsibility of OTG driver to send the event
to userspace.  Two possible methods could be sending uevents or
providing an ioctl interface.

Change-Id: I4e518be406909fc4a9641890a3131d897a2c8636
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2013-02-25 11:34:16 -08:00
..
2012-04-23 14:23:32 +03:00
2013-02-25 11:32:28 -08:00
2012-04-27 11:03:38 -06:00
2012-04-09 13:57:51 -07:00
2012-03-20 21:29:46 -04:00
2013-02-25 11:30:04 -08:00
2012-03-16 20:35:02 +00:00
2012-03-16 20:35:02 +00:00
2013-02-25 11:29:27 -08:00
2012-02-28 16:02:54 +01:00
2012-04-09 13:57:52 -07:00
2012-03-29 15:38:31 +10:30
2012-03-23 16:58:38 -07:00
2013-02-25 11:29:22 -08:00
2012-03-20 21:29:37 -04:00
2012-03-20 21:29:53 -04:00
2013-02-20 02:50:23 -08:00
2013-02-25 11:29:25 -08:00
2012-05-22 14:01:06 -07:00
2013-02-20 01:31:50 -08:00
2012-04-30 15:30:18 -07:00
2013-02-25 11:29:52 -08:00
2013-02-25 11:33:57 -08:00
2013-02-20 02:50:20 -08:00
2012-04-12 12:57:08 +02:00
2012-02-28 17:10:21 +00:00
2012-04-09 13:53:16 -07:00
2012-04-27 10:46:45 +08:00
2012-04-09 13:57:58 -07:00
2012-03-26 21:47:19 +02:00
2012-03-26 21:47:19 +02:00
2012-03-26 21:47:19 +02:00
2012-03-26 21:47:19 +02:00
2012-03-26 21:47:19 +02:00
2012-03-26 21:47:19 +02:00
2012-03-27 22:45:26 -04:00
2013-02-08 15:04:34 -08:00
2013-02-07 17:44:16 -08:00
2012-03-08 10:50:35 -08:00
2013-02-25 11:33:51 -08:00
2012-03-21 17:54:57 -07:00
2012-03-08 10:50:35 -08:00
2012-04-09 13:53:16 -07:00
2013-02-25 11:29:50 -08:00
2012-03-15 21:41:34 +01:00
2012-03-03 15:04:45 -05:00
2013-02-25 11:29:50 -08:00
2013-02-25 11:33:51 -08:00
2013-02-25 11:29:22 -08:00
2013-02-25 11:32:22 -08:00
2012-03-05 15:26:47 -05:00
2012-03-21 17:54:58 -07:00
2012-03-21 17:55:01 -07:00
2012-03-16 21:49:24 +01:00
2013-02-25 11:29:50 -08:00
2013-02-25 11:29:28 -08:00
2013-02-25 11:29:28 -08:00
2013-02-25 11:31:56 -08:00
2012-03-20 21:29:38 -04:00
2013-02-25 11:31:55 -08:00
2013-02-25 11:32:34 -08:00
2012-03-28 18:30:03 +01:00
2012-03-08 11:38:50 -08:00
2012-03-12 22:19:13 +01:00
2012-05-01 09:40:19 -04:00
2012-03-06 11:01:33 +02:00
2012-03-19 16:53:08 -04:00
2012-05-16 13:27:23 -07:00
2013-02-25 11:29:18 -08:00
2012-03-22 19:43:43 -07:00
2012-04-10 22:39:17 -06:00
2013-02-25 11:31:54 -08:00
2012-04-11 09:36:00 +01:00
2012-03-31 08:09:50 +05:30
2012-03-08 10:50:35 -08:00
2013-02-20 02:50:29 -08:00
2013-02-25 11:29:50 -08:00