[media] m2m-deinterlace: Fix error print during probe
v4l2_err() can not be used for printing error for missing interleaved support in DMA as this point the pcdev->v4l2_dev is not valid. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
b1cb50beaf
commit
8c87a44c96
|
@ -1016,7 +1016,7 @@ static int deinterlace_probe(struct platform_device *pdev)
|
|||
return -ENODEV;
|
||||
|
||||
if (!dma_has_cap(DMA_INTERLEAVE, pcdev->dma_chan->device->cap_mask)) {
|
||||
v4l2_err(&pcdev->v4l2_dev, "DMA does not support INTERLEAVE\n");
|
||||
dev_err(&pdev->dev, "DMA does not support INTERLEAVE\n");
|
||||
goto rel_dma;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue