staging: vchiq_arm: Use g_dma_dev for dma_unmap_sg
authorPhil Elwell <phil@raspberrypi.com>
Thu, 4 Jun 2020 16:23:36 +0000 (17:23 +0100)
committerpopcornmix <popcornmix@gmail.com>
Wed, 1 Jul 2020 15:34:08 +0000 (16:34 +0100)
commit3749f15035ac3f20e77f3bf00dadca0fa78efc2d
treec24233d75a22cc803934095379ccef6f6514c16b
parentd56becadf78f62d5e38c4a2409c1d1cf27e55a09
staging: vchiq_arm: Use g_dma_dev for dma_unmap_sg

Commit "staging: vchiq_arm: Clean up 40-bit DMA support" failed to
change one of the calls to dma_unmap_sg to pass in g_dma_dev (rather
than g_dev). Correct that oversight.

See: https://github.com/raspberrypi/linux/issues/3647

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c