On Thursday 16 February 2012 07:03:38 Amit Virdi wrote:
> --- a/drivers/usb/gadget/designware_udc.c
> +++ b/drivers/usb/gadget/designware_udc.c
> 
> +     /* copy back tmp buffer to bufp if bufp is not word aligned */
> +     if ((int)bufp & 0x3) {
> +             bytp = (u8 *)&tmp[0];
> +             for (i = 0; i < len; i++)
> +                     bufp[i] = bytp[i];
> +     }

memcpy(bufp, tmp, len) ?
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to