projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af63429
)
usb: musb: cppi41: do not call udelay()
author
Felipe Balbi
<balbi@ti.com>
Fri, 27 Feb 2015 19:22:27 +0000
(13:22 -0600)
committer
Felipe Balbi
<balbi@ti.com>
Tue, 10 Mar 2015 20:33:32 +0000
(15:33 -0500)
according to comment in code, HS completion
will happen pretty fast, instead of using
udelay(), let's just busy loop and drop a
cpu_relax() where udelay() was.
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_cppi41.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/musb/musb_cppi41.c
b/drivers/usb/musb/musb_cppi41.c
index 4407f30d0b86c05404a35a7ce40942d258bef0eb..9dc45a4a9fa83f2501ec75b196d1f38bd164c28c 100644
(file)
--- a/
drivers/usb/musb/musb_cppi41.c
+++ b/
drivers/usb/musb/musb_cppi41.c
@@
-287,7
+287,7
@@
static void cppi41_dma_callback(void *private_data)
wait--;
if (!wait)
break;
-
udelay(1
);
+
cpu_relax(
);
} while (1);
}
list_add_tail(&cppi41_channel->tx_check,