summaryrefslogtreecommitdiff
path: root/drivers/dma/pxp/pxp_device.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma/pxp/pxp_device.c')
-rw-r--r--drivers/dma/pxp/pxp_device.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/dma/pxp/pxp_device.c b/drivers/dma/pxp/pxp_device.c
index 2504adf1ae4a..f678c0883357 100644
--- a/drivers/dma/pxp/pxp_device.c
+++ b/drivers/dma/pxp/pxp_device.c
@@ -770,17 +770,17 @@ static long pxp_device_ioctl(struct file *filp,
switch (flush.type) {
case CACHE_CLEAN:
- dma_sync_single_for_device(NULL, obj->offset,
+ dma_sync_single_for_device(pxp_dev, obj->offset,
obj->size, DMA_TO_DEVICE);
break;
case CACHE_INVALIDATE:
- dma_sync_single_for_device(NULL, obj->offset,
+ dma_sync_single_for_device(pxp_dev, obj->offset,
obj->size, DMA_FROM_DEVICE);
break;
case CACHE_FLUSH:
- dma_sync_single_for_device(NULL, obj->offset,
+ dma_sync_single_for_device(pxp_dev, obj->offset,
obj->size, DMA_TO_DEVICE);
- dma_sync_single_for_device(NULL, obj->offset,
+ dma_sync_single_for_device(pxp_dev, obj->offset,
obj->size, DMA_FROM_DEVICE);
break;
default: