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 b
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) {
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];
> +
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 t
Dear Amit Virdi,
> Dear Marek,
>
> On 3/5/2012 11:51 PM, Marek Vasut wrote:
> > Dear Amit Virdi,
> >
> >> From: Shiraz Hashim
> >>
> >> While receiving packets from FIFO sometimes the buffer provided was
> >> nonaligned. Fix this by taking a temporary aligned buffer and then
> >> copying the co
Dear Marek,
On 3/5/2012 11:51 PM, Marek Vasut wrote:
Dear Amit Virdi,
From: Shiraz Hashim
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 Has
Dear Amit Virdi,
> From: Shiraz Hashim
>
> 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
> Signed-off-by: Amit Virdi
> ---
>
From: Shiraz Hashim
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
Signed-off-by: Amit Virdi
---
drivers/usb/gadget/designware_udc.c |
8 matches
Mail list logo