> -----Original Message-----
> From: Vivek Gautam [mailto:[email protected]]
> Sent: Monday, May 13, 2013 12:24 PM
> To: [email protected]
> Cc: [email protected]; Lukasz Majewski; Piotr Wilczek; Kyungmin
> Park; Lukasz Dalek; Marek Vasut
> Subject: [PATCH 2/2] usb: gadget: Use unaligned access for
> wMaxPacketSize
> 
> Use get_unaligned() while fetching wMaxPacketSize to avoid voilating
> any alignment rules.
> 
> Signed-off-by: Vivek Gautam <[email protected]>
> Cc: Lukasz Majewski <[email protected]>
> Cc: Piotr Wilczek <[email protected]>
> Cc: Kyungmin Park <[email protected]>
> Cc: Lukasz Dalek <[email protected]>
> Cc: Marek Vasut <[email protected]>
> ---
> 
> Just did a build test on u-boot-usb/master branch.
> Need to be tested further.
> 
> Based on u-boot-usb/next.
> 
>  drivers/usb/gadget/f_mass_storage.c |    3 ++-
>  drivers/usb/gadget/pxa25x_udc.c     |   13 +++++++------
>  2 files changed, 9 insertions(+), 7 deletions(-)
> 

Tested 'f_mass_storage.c' on u-boot/samsung.
It works fine with or without this patch on Trats2.

Best regards,
Piotr Wilczek



_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to