Files
android_kernel_xiaomi_sm8450/drivers/usb/host
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
..
2012-11-21 13:27:17 -08:00
2013-09-29 18:45:55 -07:00
2013-07-31 17:53:50 -07:00
2013-07-31 17:53:50 -07:00
2013-07-31 17:53:50 -07:00
2012-11-21 13:27:17 -08:00
2013-05-30 21:34:31 +09:00
2013-07-31 17:53:50 -07:00
2012-05-01 21:33:37 -07:00
2012-11-21 13:27:16 -08:00
2012-11-21 13:27:16 -08:00
2013-05-27 11:00:52 +09:00
2013-07-31 17:53:50 -07:00
2012-11-21 13:27:17 -08:00
2013-07-31 17:53:50 -07:00
2013-01-25 12:41:02 -08:00
2013-01-24 13:42:09 -08:00
2013-09-29 18:45:55 -07:00