aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorDmitry Osipenko <[email protected]>2020-01-14 04:34:42 +0300
committerWolfram Sang <[email protected]>2020-01-15 18:32:37 +0100
commitb3ec946975737b949137fbb1a2db9e7cc5b9ae82 (patch)
tree86ed3d8dc87862cf7f3e40e2b7578602768394cd /drivers/usb/cdns3/cdns3-debug.h
parent28d98666dbc033e8834edcba75dc1984efde0279 (diff)
i2c: tegra: Check DMA completion status in addition to left time
It is more robust to check completion status in addition to the left time in a case of DMA transfer because transfer's completion happens in two phases [one is ISR, other is tasklet] and thus it is possible that DMA is completed while I2C completion awaiting times out because of the deferred notification done by the DMA driver. The DMA completion status becomes 100% actual after DMA synchronization. This fixes spurious DMA timeouts when system is under load. Tested-by: Thierry Reding <[email protected]> Signed-off-by: Dmitry Osipenko <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions