On Sat, 5 Oct 2013, Deng-Cheng Zhu wrote:

> From: Deng-Cheng Zhu <[email protected]>
> 
> 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 <[email protected]>
> Signed-off-by: Deng-Cheng Zhu <[email protected]>
> ---
> CHANGES:
> v2 - v1:
> o Do the bugfix in uhci_hub_control() in addition to the OK macro removal.

Acked-by: Alan Stern <[email protected]>

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to