Commit 315b40d
i2c: tegra: Remove dma_sync_*() calls
Calling dma_sync_*() on a buffer from dma_alloc_coherent() is pointless.
The driver should not be doing its own bounce-buffering if the buffer is
allocated through dma_alloc_coherent().
Suggested-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20250710131206.2316-4-akhilrajeev@nvidia.com1 parent 635bf3c commit 315b40d
1 file changed
Lines changed: 1 addition & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1301 | 1301 | | |
1302 | 1302 | | |
1303 | 1303 | | |
1304 | | - | |
1305 | | - | |
1306 | | - | |
1307 | | - | |
1308 | 1304 | | |
1309 | 1305 | | |
1310 | 1306 | | |
1311 | | - | |
1312 | | - | |
1313 | | - | |
1314 | | - | |
1315 | 1307 | | |
1316 | 1308 | | |
1317 | 1309 | | |
| |||
1321 | 1313 | | |
1322 | 1314 | | |
1323 | 1315 | | |
1324 | | - | |
1325 | | - | |
1326 | | - | |
1327 | | - | |
1328 | | - | |
1329 | 1316 | | |
1330 | 1317 | | |
1331 | 1318 | | |
| |||
1366 | 1353 | | |
1367 | 1354 | | |
1368 | 1355 | | |
1369 | | - | |
1370 | | - | |
1371 | | - | |
1372 | | - | |
1373 | | - | |
| 1356 | + | |
1374 | 1357 | | |
1375 | | - | |
1376 | 1358 | | |
1377 | 1359 | | |
1378 | 1360 | | |
| |||
0 commit comments