[media] V4L: Remove "_ACTIVE" from the selection target name definitions
[firefly-linux-kernel-4.4.55.git] / drivers / media / video / s5p-jpeg / jpeg-core.c
index e40e79b33df6c2a125bc35e5be232c55d1123506..95f23024b17dd447110ea7ee7606048554454a5a 100644 (file)
@@ -824,10 +824,10 @@ static int s5p_jpeg_g_selection(struct file *file, void *priv,
 
        /* For JPEG blob active == default == bounds */
        switch (s->target) {
-       case V4L2_SEL_TGT_CROP_ACTIVE:
+       case V4L2_SEL_TGT_CROP:
        case V4L2_SEL_TGT_CROP_BOUNDS:
        case V4L2_SEL_TGT_CROP_DEFAULT:
-       case V4L2_SEL_TGT_COMPOSE_ACTIVE:
+       case V4L2_SEL_TGT_COMPOSE:
        case V4L2_SEL_TGT_COMPOSE_DEFAULT:
                s->r.width = ctx->out_q.w;
                s->r.height = ctx->out_q.h;