fimc-is: Disable support for V4L2_CID_IS_MAP_BUFFER
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 9 Jul 2015 08:28:58 +0000 (10:28 +0200)
committerJunghoon Kim <jhoon20.kim@samsung.com>
Thu, 14 Feb 2019 05:57:03 +0000 (14:57 +0900)
Change-Id: I09c01ee11a4d359cf21535b7f00ddea7eb5e3015
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
drivers/media/platform/exynos/fimc-is/fimc-is-video-3aa.c
drivers/media/platform/exynos/fimc-is/fimc-is-video-isp.c

index 6dc3d08..0d308f3 100644 (file)
@@ -557,6 +557,7 @@ static int fimc_is_3aa_video_s_ctrl(struct file *file, void *priv,
        case V4L2_CID_IS_FORCE_DONE:
                set_bit(FIMC_IS_GROUP_REQUEST_FSTOP, &device->group_3aa.state);
                break;
+#if 0
        case V4L2_CID_IS_MAP_BUFFER:
                {
                        struct fimc_is_queue *queue;
@@ -703,6 +704,7 @@ static int fimc_is_3aa_video_s_ctrl(struct file *file, void *priv,
                        kfree(buf);
                }
                break;
+#endif
        default:
                err("unsupported ioctl(%d)\n", ctrl->id);
                ret = -EINVAL;
index bea5dec..50a7e1b 100644 (file)
@@ -574,6 +574,7 @@ static int fimc_is_isp_video_s_ctrl(struct file *file, void *priv,
                                        (FIMC_IS_CRANGE_LIMITED << FIMC_IS_ISP_CRANGE_SHIFT);
                }
                break;
+#if 0
        case V4L2_CID_IS_MAP_BUFFER:
                {
                        struct fimc_is_queue *queue;
@@ -720,13 +721,16 @@ static int fimc_is_isp_video_s_ctrl(struct file *file, void *priv,
                        kfree(buf);
                }
                break;
+#endif
        default:
                err("unsupported ioctl(%d)\n", ctrl->id);
                ret = -EINVAL;
                break;
        }
 
+#if 0
 p_err:
+#endif
        return ret;
 }