Bin Meng
b5aa857b95
usb: xhci: Fix max packet size for full speed device endpoint 0
...
In xhci_check_maxpacket(), the control endpoint 0 max packet size
is wrongly taken from the interface's endpoint descriptor. However
the default endpoint 0 does not come with an endpoint descriptor
hence is not included in the interface structure. Change to use
epmaxpacketin[0] instead.
The other bug in this routine is that when setting max packet size
to the xHC endpoint 0 context, it does not clear its previous value
at all before programming a new one.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com >
2017-10-01 16:32:54 +02:00
..
2017-06-01 07:03:13 -06:00
2017-09-12 18:02:23 -04:00
2016-10-11 11:55:33 +08:00
2017-09-15 08:05:10 -04:00
2017-09-12 17:58:54 -04:00
2017-09-22 07:40:01 -04:00
2017-09-22 23:23:54 +09:00
2017-06-01 07:03:08 -06:00
2017-09-04 09:02:07 -04:00
2017-09-11 08:00:13 -07:00
2017-02-08 06:12:14 -07:00
2017-08-16 08:30:24 -04:00
2017-07-12 10:17:44 +02:00
2017-06-01 07:03:06 -06:00
2017-08-02 09:11:52 +02:00
2017-09-18 20:40:35 +02:00
2017-09-18 20:40:35 +02:00
2017-08-16 08:30:24 -04:00
2017-06-01 07:03:08 -06:00
2017-06-01 07:03:15 -06:00
2016-04-18 17:11:43 -04:00
2017-09-22 07:40:02 -04:00
2017-09-25 17:28:16 -04:00
2017-09-26 19:38:04 -04:00
2017-09-26 06:51:30 +02:00
2017-09-03 15:30:34 -04:00
2016-07-27 14:15:54 -06:00
2017-09-22 12:42:29 -07:00
2017-08-11 15:41:51 -04:00
2017-09-22 07:39:57 -04:00
2017-09-22 07:40:00 -04:00
2017-09-22 23:23:54 +09:00
2017-07-28 12:02:47 -06:00
2017-09-15 08:05:10 -04:00
2017-09-18 20:40:38 +02:00
2017-02-08 06:12:14 -07:00
2017-09-22 07:40:01 -04:00
2017-08-16 08:30:24 -04:00
2017-09-11 21:43:58 -06:00
2017-09-22 07:40:01 -04:00
2016-02-06 12:00:59 +01:00
2017-06-01 07:03:10 -06:00
2017-09-25 15:45:15 +05:30
2017-06-01 07:03:01 -06:00
2017-09-18 20:40:32 +02:00
2017-05-18 11:23:31 +02:00
2017-09-18 20:40:37 +02:00
2017-06-01 07:03:01 -06:00
2017-10-01 16:32:54 +02:00
2017-09-21 07:51:20 -04:00
2017-08-13 15:17:34 -04:00
2017-08-13 15:17:31 -04:00
2017-08-14 10:40:01 -04:00