projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bff25e
)
usb: musb: fix endpoint fifo allocation for 4KB fifo memory
author
Bin Liu
<b-liu@ti.com>
Thu, 24 Aug 2017 16:38:35 +0000
(11:38 -0500)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 28 Aug 2017 08:51:55 +0000
(10:51 +0200)
The fifo memory allocation in mode_2_cfg[] doesn't utilize all the 4KB
memory.
Increse some endpoint fifo buffers to fully use all the 4KB memory. Now
we can support more webcam usecases on DA8xx.
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/musb_core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/musb/musb_core.c
b/drivers/usb/musb/musb_core.c
index 87cbd56cc7611d97476c17069090ca3b5f476b31..5e6f2b44e33f1acd4deb2ed91ba9ee09851a40b3 100644
(file)
--- a/
drivers/usb/musb/musb_core.c
+++ b/
drivers/usb/musb/musb_core.c
@@
-1156,8
+1156,8
@@
static struct musb_fifo_cfg mode_2_cfg[] = {
{ .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, },
{ .hw_ep_num = 2, .style = FIFO_TX, .maxpacket = 512, },
{ .hw_ep_num = 2, .style = FIFO_RX, .maxpacket = 512, },
-{ .hw_ep_num = 3, .style = FIFO_RXTX, .maxpacket =
256
, },
-{ .hw_ep_num = 4, .style = FIFO_RXTX, .maxpacket =
256
, },
+{ .hw_ep_num = 3, .style = FIFO_RXTX, .maxpacket =
960
, },
+{ .hw_ep_num = 4, .style = FIFO_RXTX, .maxpacket =
1024
, },
};
/* mode 3 - fits in 4KB */