[media] i2c: Make use of media_bus_format enum
[deliverable/linux.git] / drivers / media / i2c / cx25840 / cx25840-core.c
index 0327032cd1a760cfd1f030bdb413ad9e55bd45d0..573e08826b9bb4bdc21a3f33d8344c4fef2e0c1a 100644 (file)
@@ -1373,7 +1373,7 @@ static int cx25840_s_mbus_fmt(struct v4l2_subdev *sd, struct v4l2_mbus_framefmt
        int HSC, VSC, Vsrc, Hsrc, filter, Vlines;
        int is_50Hz = !(state->std & V4L2_STD_525_60);
 
-       if (fmt->code != V4L2_MBUS_FMT_FIXED)
+       if (fmt->code != MEDIA_BUS_FMT_FIXED)
                return -EINVAL;
 
        fmt->field = V4L2_FIELD_INTERLACED;
This page took 0.024641 seconds and 5 git commands to generate.