]> www.infradead.org Git - users/jedix/linux-maple.git/commit
spi: pxa2xx: Use new spi_xfer_is_dma_mapped() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 31 May 2024 19:42:37 +0000 (22:42 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 10 Jun 2024 11:49:01 +0000 (12:49 +0100)
commite47f92308031ebc29327494b1ab70d18bfa96a5d
tree5a700be90ff0f74bfeb428a3410bd64c57e664b5
parent6361b4e4f7a43dd5d8e3f2d2ece8148f30b55cb3
spi: pxa2xx: 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-6-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-pxa2xx.c