On 13.05.2013 12:23, Vivek Gautam wrote:
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 pxa25x_udc.c on u-boot/master on h2200 (PXA255) and works fine.

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

Reply via email to