]> www.infradead.org Git - users/jedix/linux-maple.git/commit
spi: pci1xxxx: Use new spi_xfer_is_dma_mapped() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 31 May 2024 19:42:38 +0000 (22:42 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 10 Jun 2024 11:49:01 +0000 (12:49 +0100)
commit2f9485adfbd8af088684f43c6391fa02e334d349
tree52f4c7808de8d692d15152392535ab803d4f20bd
parente47f92308031ebc29327494b1ab70d18bfa96a5d
spi: pci1xxxx: Use new spi_xfer_is_dma_mapped() helper

Replace a few lines of code by calling a spi_xfer_is_dma_mapped() helper.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on SM8650-QRD
Link: https://lore.kernel.org/r/20240531194723.1761567-7-andriy.shevchenko@linux.intel.com
Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
Tested-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pci1xxxx.c