]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/media/i2c/s5k6aa.c
media: v4l: mediabus: Recognise CSI-2 D-PHY and C-PHY
[linux.git] / drivers / media / i2c / s5k6aa.c
index 63cf8db82e7df772e449c2ab53a229708609b956..ab26f549d716de3a930a9d7db82f4ac3a715db3c 100644 (file)
@@ -688,7 +688,7 @@ static int s5k6aa_configure_video_bus(struct s5k6aa *s5k6aa,
         * but there is nothing indicating how to switch between both
         * in the datasheet. For now default BT.601 interface is assumed.
         */
-       if (bus_type == V4L2_MBUS_CSI2)
+       if (bus_type == V4L2_MBUS_CSI2_DPHY)
                cfg = nlanes;
        else if (bus_type != V4L2_MBUS_PARALLEL)
                return -EINVAL;