diff options
author | Peter Chen <peter.chen@nxp.com> | 2020-02-14 10:09:51 +0800 |
---|---|---|
committer | Peter Chen <peter.chen@nxp.com> | 2020-02-28 11:15:58 +0800 |
commit | 282ed22da06347b2b582fed09ef5ef1655728093 (patch) | |
tree | da92a3bb5aef6618cb01033c84ebc0319f3a6e52 /arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi | |
parent | b201be894582f00db6081332fd14a0db258765aa (diff) |
MLK-23349-4 usb: cdns3: ep0: toggle cycle bit before reset endpoint
If there are TRBs pending during reset endpoint operation, the
DMA will advance after reset operation, but it isn't expected,
since the data is not yet available (For OUT, the data is not
yet available). After the data is ready, there won't be any
interrupt since the EP_TRADDR already points to next TRB entry
and doorbell is not set.
To fix it, it toggles cycle bit before reset operation, and restores
it after reset, itt could avoid unexpected DMA advance later due
to TRB content is changed during the reset.
Reviewed-by: Jun Li <jun.li@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi')
0 files changed, 0 insertions, 0 deletions