usb:composite: use memcpy to avoid unaligned access
authorPiotr Wilczek <p.wilczek@samsung.com>
Wed, 10 Apr 2013 12:07:51 +0000 (14:07 +0200)
committerMarek Vasut <marex@denx.de>
Sun, 30 Jun 2013 16:41:07 +0000 (18:41 +0200)
commit12595e99e40ba4d0a08744e375f4e2144dc5acb6
treea31deba681317dc567e386a9b54cf942620878db
parent7f3cf4060fe8e93d785581ea2047929c1cb15a18
usb:composite: use memcpy to avoid unaligned access

This patch memcpy is used instead of an assignment to
avoid unaligned access execption on some ARM platforms.

Signed-off-by: Piotr Wilczek <p.wilczek@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
CC: Lukasz Majewski <l.majewski@samsung.com>
Tested-by: Heiko Schocher <hs@denx.de>
Acked-by: Heiko Schocher <hs@denx.de>
drivers/usb/gadget/composite.c