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>
Sun, 29 Sep 2019 08:33:01 +0000 (01:33 -0700)
commit4fb3e77b9ed7c15bed28dfaff2062db1ce85f86b
tree2a18833e074e57ccb3c477635d996d68528417bf
parent1372754979a765f78da04a14982190b10f1cbc76
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)
drivers/usb/cdns3/gadget.c