Hi,

cc: Remy Bohmer

Prafulla Wadaskar wrote:
> This patch is tested for USB host interface on Kirkwood based
> Sheevaplug platform (i.e arm little-endian machine)
>
> Signed-off-by: Prafulla Wadaskar <prafu...@marvell.com>
> ---
>  drivers/usb/host/ehci-hcd.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
> index bbd547b..7a55638 100644
> --- a/drivers/usb/host/ehci-hcd.c
> +++ b/drivers/usb/host/ehci-hcd.c
> @@ -550,7 +550,7 @@ ehci_submit_root(struct usb_device *dev, unsigned long 
> pipe, void *buffer,
>             req->requesttype, req->requesttype,
>             le16_to_cpu(req->value), le16_to_cpu(req->index));
>  
> -     typeReq = req->request << 8 | req->requesttype;
> +     typeReq = req->request | req->requesttype << 8;
>  
>       switch (le16_to_cpu(typeReq)) {
>   
Regards Michael
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to