[media] V4L: Remove "_ACTIVE" from the selection target name definitions
[firefly-linux-kernel-4.4.55.git] / drivers / media / video / s5p-fimc / fimc-lite.c
index 400d701aef04126d8d3b469a51b7a9adb360985c..52ede56e0758daf886f58f9976d5034ab54c4d2e 100644 (file)
@@ -871,7 +871,7 @@ static int fimc_lite_g_selection(struct file *file, void *fh,
                sel->r.height = f->f_height;
                return 0;
 
-       case V4L2_SEL_TGT_COMPOSE_ACTIVE:
+       case V4L2_SEL_TGT_COMPOSE:
                sel->r = f->rect;
                return 0;
        }
@@ -888,7 +888,7 @@ static int fimc_lite_s_selection(struct file *file, void *fh,
        unsigned long flags;
 
        if (sel->type != V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE ||
-           sel->target != V4L2_SEL_TGT_COMPOSE_ACTIVE)
+           sel->target != V4L2_SEL_TGT_COMPOSE)
                return -EINVAL;
 
        fimc_lite_try_compose(fimc, &rect);