spi: core: add dma_map_dev for __spi_unmap_msg()
authorVinod Koul <vkoul@kernel.org>
Wed, 6 Apr 2022 13:22:38 +0000 (18:52 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 6 Apr 2022 14:50:08 +0000 (15:50 +0100)
commit409543cec01a84610029d6440c480c3fdd7214fb
tree5d768ff18ebe2856b74619c17420694938b3cdcf
parent35d516bdcd92fde46202d06b68df1166760208fd
spi: core: add dma_map_dev for __spi_unmap_msg()

Commit b470e10eb43f ("spi: core: add dma_map_dev for dma device") added
dma_map_dev for _spi_map_msg() but missed to add for unmap routine,
__spi_unmap_msg(), so add it now.

Fixes: b470e10eb43f ("spi: core: add dma_map_dev for dma device")
Cc: stable@vger.kernel.org # v5.14+
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20220406132238.1029249-1-vkoul@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c