Dear Marek,
On 3/5/2012 11:51 PM, Marek Vasut wrote:
Dear Amit Virdi,
From: Shiraz Hashimshiraz.has...@st.com
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.
Dear Amit Virdi,
Dear Marek,
On 3/5/2012 11:51 PM, Marek Vasut wrote:
Dear Amit Virdi,
From: Shiraz Hashimshiraz.has...@st.com
While receiving packets from FIFO sometimes the buffer provided was
nonaligned. Fix this by taking a temporary aligned buffer and then
copying the
On Tuesday 06 March 2012 04:51:57 Marek Vasut wrote:
On 3/5/2012 11:51 PM, Marek Vasut wrote:
Amit Virdi wrote:
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
On Thursday 16 February 2012 07:03:38 Amit Virdi wrote:
--- a/drivers/usb/gadget/designware_udc.c
+++ b/drivers/usb/gadget/designware_udc.c
+ /* copy back tmp buffer to bufp if bufp is not word aligned */
+ if ((int)bufp 0x3) {
+ bytp = (u8 *)tmp[0];
+ for
Hey Mike,
On 3/6/2012 9:39 PM, Mike Frysinger wrote:
On Thursday 16 February 2012 07:03:38 Amit Virdi wrote:
--- a/drivers/usb/gadget/designware_udc.c
+++ b/drivers/usb/gadget/designware_udc.c
+ /* copy back tmp buffer to bufp if bufp is not word aligned */
+ if ((int)bufp 0x3) {
Dear Marek,
}
This addresses EHCI cache problem, that's why you need bounce buffer,
right?
No. The problem was we were copying data word-by-word to a non-word
aligned memory in the USB gadget. So, this is different from the USB
host controller issue.
I see ... why isn't buffer aligned
Dear Amit Virdi,
From: Shiraz Hashim shiraz.has...@st.com
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.has...@st.com
From: Shiraz Hashim shiraz.has...@st.com
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.has...@st.com
Signed-off-by: Amit Virdi
8 matches
Mail list logo