diff options
author | Stephen Warren <swarren@nvidia.com> | 2014-07-01 11:41:18 -0600 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2014-07-02 15:45:38 +0200 |
commit | 639e9903c20611772cb38433add6fe2383b9fabf (patch) | |
tree | 673744ff469e28814cec6bb3fe7d5619ff795b48 /drivers/usb/gadget/atmel_usba_udc.c | |
parent | 6ac15fda4e2b9ad45b7769037964110f7f597b5c (diff) | |
download | u-boot-imx-639e9903c20611772cb38433add6fe2383b9fabf.zip u-boot-imx-639e9903c20611772cb38433add6fe2383b9fabf.tar.gz u-boot-imx-639e9903c20611772cb38433add6fe2383b9fabf.tar.bz2 |
usb: ci_udc: don't memalign() struct ci_req allocations
struct ci_req is a purely software structure, and needs no specific
memory alignment. Hence, allocate it with calloc() rather than
memalign(). The use of memalign() was left-over from when struct ci_req
was going to hold the aligned bounce buffer, but this is now dynamically
allocated.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'drivers/usb/gadget/atmel_usba_udc.c')
0 files changed, 0 insertions, 0 deletions