Deng-Cheng Zhu
5a3e2055c5
USB/host: Bugfix: Return length of copied buffer in uhci_hub_control()
...
In addition to the error statuses -ETIMEDOUT and -EPIPE, uhci_hub_control()
needs to return the length of copied buffer when appropriate, so that the
returned status of ->hub_control() in rh_call_control() in the USB core
HCD can be properly handled.
This patch also removes the OK() macro to make the code more readable.
Reviewed-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Deng-Cheng Zhu <dengcheng.zhu@imgtec.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-10-07 00:07:17 -07:00
..
2013-08-30 12:02:08 -07:00
2013-09-29 18:45:55 -07:00
2013-09-23 13:32:51 -07:00
2013-09-26 09:47:22 -07:00
2013-08-30 12:02:07 -07:00
2013-08-12 11:43:48 -07:00
2013-09-23 13:32:51 -07:00
2013-08-23 10:46:03 -07:00
2013-09-23 13:32:51 -07:00
2013-07-31 17:53:50 -07:00
2013-07-31 17:53:50 -07:00
2013-10-03 15:44:50 -07:00
2013-07-31 17:53:50 -07:00
2013-09-23 13:32:51 -07:00
2013-09-23 13:32:51 -07:00
2013-09-23 13:32:51 -07:00
2013-09-23 13:32:51 -07:00
2013-07-31 17:53:50 -07:00
2013-09-17 09:49:24 -07:00
2013-09-23 13:32:51 -07:00
2013-09-23 13:32:51 -07:00
2013-09-30 18:58:42 -07:00
2013-09-23 13:32:51 -07:00
2013-08-12 11:43:48 -07:00
2013-09-26 09:47:22 -07:00
2013-09-23 13:32:51 -07:00
2013-09-17 09:49:24 -07:00
2013-07-29 11:15:39 -07:00
2013-07-29 11:15:39 -07:00
2013-09-17 11:06:57 -05:00
2013-10-03 15:46:26 -07:00
2013-09-25 17:05:34 -07:00
2013-07-31 17:53:50 -07:00
2013-07-23 16:35:17 -07:00
2013-07-31 17:53:50 -07:00
2013-07-24 14:43:05 -07:00
2013-07-31 17:53:50 -07:00
2013-09-26 11:35:03 -07:00
2013-09-26 11:35:03 -07:00
2013-10-05 17:56:41 -07:00
2013-10-05 17:56:41 -07:00
2013-10-05 17:56:41 -07:00
2013-10-05 17:56:41 -07:00
2013-10-05 17:56:41 -07:00
2013-09-26 11:35:02 -07:00
2013-09-26 09:53:46 -07:00
2013-10-05 17:56:41 -07:00
2013-10-03 15:44:51 -07:00
2013-10-05 17:56:41 -07:00
2013-07-25 12:01:12 -07:00
2013-10-05 17:56:41 -07:00
2013-09-25 17:05:35 -07:00
2013-10-05 17:56:41 -07:00
2013-10-05 17:56:41 -07:00
2013-10-05 17:56:41 -07:00
2013-07-31 17:53:50 -07:00
2013-10-03 15:44:51 -07:00
2013-10-03 15:44:51 -07:00
2013-08-30 11:11:35 -07:00
2013-07-31 17:53:50 -07:00
2013-07-24 14:43:05 -07:00
2013-07-31 17:53:50 -07:00
2013-10-05 17:58:48 -07:00
2013-10-07 00:07:17 -07:00
2013-09-29 18:45:55 -07:00
2013-10-07 00:05:09 -07:00
2013-09-25 17:05:34 -07:00
2013-08-13 16:05:38 -07:00
2013-08-27 08:54:42 -07:00
2013-09-23 15:43:31 -07:00
2013-09-23 15:43:31 -07:00
2013-09-25 17:05:35 -07:00
2013-08-15 18:00:46 -07:00
2013-09-23 15:43:31 -07:00
2013-08-13 16:05:38 -07:00
2013-08-13 21:14:44 -07:00
2013-09-23 15:43:30 -07:00
2013-09-23 15:43:31 -07:00