MLK-22577-2: usb: cdns3: Change the max packetsize of interrupt endpoint
authorSherry Sun <sherry.sun@nxp.com>
Mon, 9 Sep 2019 21:14:16 +0000 (17:14 -0400)
committerYe Li <ye.li@nxp.com>
Thu, 29 Apr 2021 07:56:32 +0000 (00:56 -0700)
commitb5d21f7860fac0fb93b89999d0b7e59a8b8aa360
treeb200e4ff0d31745ef3fc35fde4042d879ebbc67e
parent2851721864bbc1ea9a8f33f1abd7c20efadb1c3f
MLK-22577-2: usb: cdns3: Change the max packetsize of interrupt endpoint

When use ep1out interrupt endpoint to receive data in sdp, the max
packetsize of ep1out is set to 1024. But in cdns3 gadget driver, the
max packetsize is limited to 512 bytes in high speed. So we can't
implement data download through ep1out of cdns3 driver, here need
change the max packesize of interrupt endpoints to 1024.

Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 17f321b4a32cfaac52339172dc354729e641451a)
(cherry picked from commit 9d81e87f6fc37b42c28694f3938b1e1c37879904)
drivers/usb/cdns3/gadget.c