Commits
Peter Chen committed 6613a67cd80
MLK-22878 usb: cdns3: gadget: add imx8qxp C0 support We use controller version to differetiate between B0 (0x00024502) and C0 (0x0002450C). The controller uses TDL check to avoid "NO NAK" issue at B0 if there is not buffer for OUT, this issue is described at "Work around 2" at the begin of gadget.c At default, the TDL value is 0, so it always NAK host's OUT token. When the TD is added, the TDL value is non-zero, it will respond NAK/ACK according to OUT FIFO's situation. Reviewed-by: Jun Li <jun.li@nxp.com> Signed-off-by: Peter Chen <peter.chen@nxp.com>