soi: Don't call DMA sync API when not needed
authorMark Brown <broonie@kernel.org>
Thu, 23 May 2024 14:16:57 +0000 (15:16 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 23 May 2024 14:16:57 +0000 (15:16 +0100)
commit3aac9f4885922ad0fc01b86f85903768219475a3
tree02493c31ae9cf8c43730b36ef3b25efdfb0cded2
parenta827ad9b3c2fc243e058595533f91ce41a312527
parentda560097c05612f8d360f86528f6213629b9c395
soi: Don't call DMA sync API when not needed

Merge series from Andy Shevchenko <andriy.shevchenko@linux.intel.com>:

A couple of fixes to avoid calling DMA sync API when it's not needed.
This doesn't stop from discussing if IOMMU code is doing the right thing,
i.e. dereferences SG list when orig_nents == 0, but this is a separate
story.
drivers/spi/spi.c