usb:gadget:ums: Replace malloc calls with memalign to fix cache buffer alignment
authorLukasz Majewski <l.majewski@samsung.com>
Wed, 5 Feb 2014 09:10:41 +0000 (10:10 +0100)
committerMarek Vasut <marex@denx.de>
Thu, 6 Feb 2014 01:22:44 +0000 (02:22 +0100)
commit16b7a29fc6fac16431051de06d62da689360c40a
tree0265a10d68017893cebf4b86df921fd6b2e27725
parente141652b9cd0cb4f899f7a0fd71c8a438300e365
usb:gadget:ums: Replace malloc calls with memalign to fix cache buffer alignment

Calls to malloc() have been replaced by memalign. It now provides proper
buffer alignment.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Cc: Marek Vasut <marex@denx.de>
drivers/usb/gadget/f_mass_storage.c