summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2010-02-02 17:06:54 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2010-02-02 17:06:54 +1100
commitb33ad850e51438e05e898e17dd3d9c475bb92e10 (patch)
treed3a95d8972c9648769d92f20baf9825f5c953c41
parentd3ce2e62316fdb9bcdb3528974c4bd6662a1f0ae (diff)
Revert "isp1760: Flush the D-cache for the pipe-in transfer buffers"
This reverts commit 571da0df39107568bb137d928862121ddae6aad1.
-rw-r--r--drivers/usb/host/isp1760-hcd.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/usb/host/isp1760-hcd.c b/drivers/usb/host/isp1760-hcd.c
index 4d3eeeed990f..27b8f7cb4471 100644
--- a/drivers/usb/host/isp1760-hcd.c
+++ b/drivers/usb/host/isp1760-hcd.c
@@ -18,8 +18,6 @@
#include <linux/uaccess.h>
#include <linux/io.h>
#include <asm/unaligned.h>
-#include <asm/cacheflush.h>
-#include <asm/memory.h>
#include "../core/hcd.h"
#include "isp1760-hcd.h"
@@ -906,14 +904,6 @@ __acquires(priv->lock)
status = 0;
}
- if (usb_pipein(urb->pipe) && usb_pipetype(urb->pipe) == PIPE_BULK) {
- void *ptr;
- for (ptr = urb->transfer_buffer;
- ptr < urb->transfer_buffer + urb->transfer_buffer_length;
- ptr += PAGE_SIZE)
- flush_dcache_page(virt_to_page(ptr));
- }
-
/* complete() can reenter this HCD */
usb_hcd_unlink_urb_from_ep(priv_to_hcd(priv), urb);
spin_unlock(&priv->lock);