Files
kernel_xiaomi_sm8250/include/linux
Alan Stern bdd016ba64 USB: add ep->enable
This patch (as944) adds an explicit "enabled" field to the
usb_host_endpoint structure and uses it in place of the current
mechanism.  This is merely a time-space tradeoff; it makes checking
whether URBs may be submitted to an endpoint simpler.  The existing
mechanism is efficient when converting urb->pipe to an endpoint
pointer, but it's not so efficient when urb->ep is used instead.

As a side effect, the procedure for enabling an endpoint is now a
little more complicated.  The ad-hoc inline code in usb.c and hub.c
for enabling ep0 is now replaced with calls to usb_enable_endpoint,
which is no longer static.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-10-12 14:55:00 -07:00
..
2007-10-09 19:59:16 -07:00
2007-09-24 07:15:48 +02:00
2007-09-23 22:17:27 +02:00
2007-10-10 16:53:11 -07:00
2007-09-11 04:22:16 -07:00
2007-10-10 16:51:59 -07:00
2007-10-10 16:49:02 -07:00
2007-10-10 09:25:57 +02:00
2007-10-11 23:54:00 +02:00
2007-10-10 16:51:59 -07:00
2007-10-10 16:52:04 -07:00
2007-08-26 18:35:34 -07:00
2007-09-11 17:21:20 -07:00
2007-09-04 23:16:04 -04:00
2007-09-11 22:24:45 +01:00
2007-10-10 16:54:03 -07:00
2007-10-10 16:54:44 -07:00
2007-09-20 13:19:59 -07:00
2007-09-16 16:21:16 -07:00
2007-08-11 15:47:41 -07:00
2007-10-12 14:55:00 -07:00
2007-09-19 11:24:18 -07:00
2007-10-10 09:25:57 +02:00