]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/media/platform/stm32/stm32-dcmi.c
media: v4l: mediabus: Recognise CSI-2 D-PHY and C-PHY
[linux.git] / drivers / media / platform / stm32 / stm32-dcmi.c
index 48f514d7e34f6818d0403a41ba8bd5fe5c1177aa..9719a2e8de07153c9b25f29d1b21e3b6d2f84c0d 100644 (file)
@@ -1663,7 +1663,7 @@ static int dcmi_probe(struct platform_device *pdev)
                return -ENODEV;
        }
 
-       if (ep.bus_type == V4L2_MBUS_CSI2) {
+       if (ep.bus_type == V4L2_MBUS_CSI2_DPHY) {
                dev_err(&pdev->dev, "CSI bus not supported\n");
                return -ENODEV;
        }