linux/drivers/usb/dwc3
Pratyush Anand 0416e494ce usb: dwc3: ep0: correct cache sync issue in case of ep0_bounced
In case of ep0 out, if length is not aligned to maxpacket size then we use
dwc->ep_bounce_addr for dma transfer and not request->dma. Since, we have
alreday done memcpy from dwc->ep0_bounce to request->buf, so we do not need to
issue cache sync function. In fact, cache sync function will bring wrong data
in request->buf from request->dma in this scenario.

So, cache sync function must not be executed in case of ep0 bounced.

Cc: <stable@vger.kernel.org> # v3.4 v3.5
Signed-off-by: Pratyush Anand <pratyush.anand@st.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2012-09-06 19:52:24 +03:00
..
core.c USB: DWC3: Issue device soft reset before core soft reset 2012-06-22 13:22:46 +03:00
core.h usb: dwc3: rename res_trans_idx to resource_index 2012-06-25 14:00:45 +03:00
debug.h usb: dwc: remove "All rights reserved" statement. 2011-10-04 10:25:52 -07:00
debugfs.c usb: dwc3: debugfs: fix off by one when entering testmode 2012-02-10 12:14:53 +02:00
dwc3-exynos.c usb: dwc3: Remove duplicate header file inclusion 2012-06-22 13:21:43 +03:00
dwc3-omap.c usb: dwc3: omap: add dwc3_omap_readl/writel functions 2012-04-24 15:37:01 +03:00
dwc3-pci.c USB merge for 3.4-rc1 2012-03-20 11:26:30 -07:00
ep0.c usb: dwc3: ep0: correct cache sync issue in case of ep0_bounced 2012-09-06 19:52:24 +03:00
gadget.c usb: dwc3: ep0: correct cache sync issue in case of ep0_bounced 2012-09-06 19:52:24 +03:00
gadget.h usb: dwc3: correct set_halt implementation for ep0 2012-07-02 10:02:07 +03:00
host.c usb: dwc3: core: split host address space 2012-04-24 15:37:04 +03:00
io.h usb: dwc3: core: split host address space 2012-04-24 15:37:04 +03:00
Kconfig usb: dwc3: Fix the dwc3 dependency 2012-05-11 15:17:31 -07:00
Makefile usb: dwc3: Add Exynos Specific Glue layer 2012-03-02 12:11:28 +02:00