]> git.sur5r.net Git - u-boot/commit
USB:gadget:designware Fix memory nonalignment issue
authorShiraz Hashim <shiraz.hashim@st.com>
Tue, 6 Mar 2012 23:39:41 +0000 (23:39 +0000)
committerMarek Vasut <marek.vasut@gmail.com>
Sun, 18 Mar 2012 23:08:17 +0000 (00:08 +0100)
commitf50dcd60a03a3fe7bbb7d43d6fe070602bda6989
treebb262d7f2a14b45321c114e66abc02f6d3a2c1ee
parent4df4f3c9a2121a7b49c5b2acc73706c16e42c173
USB:gadget:designware Fix memory nonalignment issue

While receiving packets from FIFO sometimes the buffer provided was
nonaligned. Fix this by taking a temporary aligned buffer and then
copying the content to nonaligned buffer.

Signed-off-by: Shiraz Hashim <shiraz.hashim@st.com>
Signed-off-by: Amit Virdi <amit.virdi@st.com>
drivers/usb/gadget/designware_udc.c