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
..
2012-08-22 09:18:49 +10:00
2012-07-27 15:14:26 -07:00
2012-08-25 10:16:45 -04:00
2012-08-06 13:29:57 -07:00
2012-08-20 13:13:47 -07:00
2012-08-02 13:51:46 -04:00
2012-08-25 11:36:43 -07:00
2012-08-06 15:33:05 -03:00
2012-08-17 09:21:35 +02:00
2012-07-30 17:25:13 -07:00
2012-08-21 16:45:02 -07:00
2012-07-16 23:23:52 -07:00
2012-08-23 17:02:42 +02:00
2012-08-17 19:37:08 +02:00
2012-08-23 21:58:04 -07:00
2012-08-13 10:15:22 +05:30
2012-07-29 21:11:05 -03:00
2012-08-16 10:29:08 -07:00
2012-07-30 09:32:39 -07:00
2012-07-31 19:07:42 -07:00
2012-08-14 07:50:36 +03:00
2012-08-30 14:14:12 +10:00
2012-08-23 21:45:54 -07:00
2012-07-31 19:07:42 -07:00
2012-08-22 22:33:31 -07:00
2012-07-07 22:35:30 +03:00
2012-08-18 20:45:09 +02:00
2012-08-21 14:54:42 -07:00
2012-08-17 19:37:14 +02:00
2012-07-12 07:54:45 -07:00
2012-08-16 20:24:38 +01:00
2012-08-16 09:38:39 -07:00
2012-08-09 15:16:41 +02:00
2012-08-10 11:34:08 +02:00
2012-08-06 13:22:50 -07:00
2012-08-13 14:34:02 +08:00
2012-08-18 09:51:42 +10:00
2012-08-21 16:54:38 -07:00
2012-07-30 17:25:17 -07:00
2012-08-20 13:14:22 -07:00
2012-08-21 16:45:03 -07:00
2012-08-01 16:41:07 -07:00
2012-08-12 21:31:44 +03:00
2012-08-21 16:46:08 -07:00
2012-07-09 16:42:24 -04:00
2012-08-20 02:16:00 -07:00
2012-07-24 16:17:07 -07:00
2012-08-15 11:51:19 -06:00
2012-07-27 15:14:26 -07:00
2012-08-17 11:09:58 +02:00
2012-08-20 12:44:41 -04:00
2012-08-02 11:52:39 -07:00
2012-07-30 17:25:21 -07:00
2012-08-20 11:58:43 +02:00
2012-08-21 16:45:03 -07:00
2012-08-15 17:19:01 +01:00
2012-07-26 16:19:08 -07:00
2012-07-26 16:19:08 -07:00
2012-08-21 16:45:03 -07:00
2012-08-28 10:08:31 +02:00
2012-08-01 09:02:41 -07:00
2012-08-09 13:21:05 +09:00
2012-08-25 11:45:04 -07:00
2012-08-20 13:14:22 -07:00
2012-08-21 14:27:35 -07:00
2012-07-31 18:08:25 -07:00
2012-08-16 12:20:20 -07:00
2012-09-06 19:52:24 +03:00
2012-08-22 10:26:42 -04:00
2012-08-20 14:52:11 -07:00
2012-08-22 14:00:35 +10:00
2012-07-20 08:59:03 +01:00
2012-07-19 15:39:39 -07:00
2012-08-16 12:33:59 -07:00
2012-08-29 17:13:06 +02:00
2012-08-25 17:31:59 -07:00
2012-07-15 19:56:38 +02:00
2012-07-31 08:16:22 -06:00
2012-07-31 08:16:22 -06:00