We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 068143a commit deb821fCopy full SHA for deb821f
drivers/i2c/busses/i2c-tegra.c
@@ -1219,15 +1219,6 @@ static int tegra_i2c_xfer_msg(struct tegra_i2c_dev *i2c_dev,
1219
time_left = tegra_i2c_wait_completion_timeout(
1220
i2c_dev, &i2c_dev->dma_complete, xfer_time);
1221
1222
- /*
1223
- * Synchronize DMA first, since dmaengine_terminate_sync()
1224
- * performs synchronization after the transfer's termination
1225
- * and we want to get a completion if transfer succeeded.
1226
- */
1227
- dmaengine_synchronize(i2c_dev->msg_read ?
1228
- i2c_dev->rx_dma_chan :
1229
- i2c_dev->tx_dma_chan);
1230
-
1231
dmaengine_terminate_sync(i2c_dev->msg_read ?
1232
i2c_dev->rx_dma_chan :
1233
i2c_dev->tx_dma_chan);
0 commit comments