i2c: tegra: Remove dma_sync_*() calls
authorAkhil R <akhilrajeev@nvidia.com>
Thu, 10 Jul 2025 13:12:06 +0000 (18:42 +0530)
committerAndi Shyti <andi.shyti@kernel.org>
Tue, 29 Jul 2025 22:30:54 +0000 (00:30 +0200)
commit315b40df66c8f1d7be8056d9d418bb6976747389
treebc9ba5add86f161215d5cbd87149027280d6d23d
parent635bf3c8853359a987c5c909d424df92a0d3016a
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.com
drivers/i2c/busses/i2c-tegra.c