public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Łukasz Dałek" <luk0104@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] usb: gadget: Use unaligned access for wMaxPacketSize
Date: Mon, 13 May 2013 14:03:11 +0200	[thread overview]
Message-ID: <5190D67F.1010006@gmail.com> (raw)
In-Reply-To: <1368440618-11359-2-git-send-email-gautam.vivek@samsung.com>

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 <gautam.vivek@samsung.com>
> Cc: Lukasz Majewski <l.majewski@samsung.com>
> Cc: Piotr Wilczek <p.wilczek@samsung.com>
> Cc: Kyungmin Park <kyungmin.park@samsung.com>
> Cc: Lukasz Dalek <luk0104@gmail.com>
> Cc: Marek Vasut <marex@denx.de>
> ---
>
> 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

  parent reply	other threads:[~2013-05-13 12:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-13 10:23 [U-Boot] [PATCH 1/2] usb: Use get_unaligned() in usb_endpoint_maxp() for wMaxPacketSize Vivek Gautam
2013-05-13 10:23 ` [U-Boot] [PATCH 2/2] usb: gadget: Use unaligned access " Vivek Gautam
2013-05-13 10:50   ` Kyungmin Park
2013-05-13 11:46     ` Vivek Gautam
2013-05-13 11:56     ` Albert ARIBAUD
2013-05-13 12:03   ` Łukasz Dałek [this message]
2013-05-14 13:37   ` Piotr Wilczek
2013-05-14 13:49   ` Marek Vasut

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5190D67F.1010006@gmail.com \
    --to=luk0104@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox