diff options
author | Bin Liu <b-liu@ti.com> | 2017-08-24 12:38:35 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-28 04:51:55 -0400 |
commit | 55aad53fb3f6c7c3c37e296a3bfdd96ca93f6a1f (patch) | |
tree | 82243a5158824492e6ca72814aa9644d7db48109 | |
parent | 1bff25eafa451c6210d6dfdff63e39c55c96a3e3 (diff) |
usb: musb: fix endpoint fifo allocation for 4KB fifo memory
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>
-rw-r--r-- | drivers/usb/musb/musb_core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index 87cbd56cc761..5e6f2b44e33f 100644 --- 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[] = { | |||
1156 | { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, }, | 1156 | { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, }, |
1157 | { .hw_ep_num = 2, .style = FIFO_TX, .maxpacket = 512, }, | 1157 | { .hw_ep_num = 2, .style = FIFO_TX, .maxpacket = 512, }, |
1158 | { .hw_ep_num = 2, .style = FIFO_RX, .maxpacket = 512, }, | 1158 | { .hw_ep_num = 2, .style = FIFO_RX, .maxpacket = 512, }, |
1159 | { .hw_ep_num = 3, .style = FIFO_RXTX, .maxpacket = 256, }, | 1159 | { .hw_ep_num = 3, .style = FIFO_RXTX, .maxpacket = 960, }, |
1160 | { .hw_ep_num = 4, .style = FIFO_RXTX, .maxpacket = 256, }, | 1160 | { .hw_ep_num = 4, .style = FIFO_RXTX, .maxpacket = 1024, }, |
1161 | }; | 1161 | }; |
1162 | 1162 | ||
1163 | /* mode 3 - fits in 4KB */ | 1163 | /* mode 3 - fits in 4KB */ |