commit | 1d0788f534d851e07ffee83c91416520e4848fc6 | [log] [tgz] |
---|---|---|
author | Stephen Warren <swarren@nvidia.com> | Tue Jul 01 11:41:18 2014 -0600 |
committer | Marek Vasut <marex@denx.de> | Wed Jul 02 15:45:38 2014 +0200 |
tree | 673744ff469e28814cec6bb3fe7d5619ff795b48 | |
parent | b8a872c6528327d232f3e5eb3a548924cfbee55c [diff] |
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>