commit | a70ff65601f1016cb164d2847e9f370e2ed22b39 | [log] [tgz] |
---|---|---|
author | Dmitry Osipenko <digetx@gmail.com> | Tue Mar 24 22:12:17 2020 +0300 |
committer | Thierry Reding <treding@nvidia.com> | Fri May 08 12:42:33 2020 +0200 |
tree | 175e60e51ff3be053004ba494bc80c9ce6ce19ef | |
parent | 566c05f7cd9a5c6a257d19d4fb91ce35b3b27fb6 [diff] |
i2c: tegra: Synchronize DMA before termination DMA transfer could be completed, but CPU (which handles DMA interrupt) may get too busy and can't handle the interrupt in a timely manner, despite of DMA IRQ being raised. In this case the DMA state needs to synchronized before terminating DMA transfer in order not to miss the DMA transfer completion. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>