Hi,

On Friday 16 October 2009 12:19:20 hvaib...@ti.com wrote:
> From: Vaibhav Hiremath <hvaib...@ti.com>
> 
> 
> Signed-off-by: Vaibhav Hiremath <hvaib...@ti.com>
> ---
>  drivers/media/video/v4l2-ioctl.c |   19 +++++++++++++++++++
>  include/linux/videodev2.h        |   14 ++++++++++++++
>  include/media/v4l2-ioctl.h       |    4 ++++
>  3 files changed, 37 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/media/video/v4l2-ioctl.c
>  b/drivers/media/video/v4l2-ioctl.c index 30cc334..d3140e0 100644
> --- a/drivers/media/video/v4l2-ioctl.c
> +++ b/drivers/media/video/v4l2-ioctl.c
> @@ -284,6 +284,8 @@ static const char *v4l2_ioctls[] = {
>       [_IOC_NR(VIDIOC_DBG_G_CHIP_IDENT)] = "VIDIOC_DBG_G_CHIP_IDENT",
>       [_IOC_NR(VIDIOC_S_HW_FREQ_SEEK)]   = "VIDIOC_S_HW_FREQ_SEEK",
>  #endif
> +     [_IOC_NR(VIDIOC_S_COLOR_SPACE_CONV)]   = "VIDIOC_S_COLOR_SPACE_CONV",
> +     [_IOC_NR(VIDIOC_G_COLOR_SPACE_CONV)]   = "VIDIOC_G_COLOR_SPACE_CONV",
>  };
>  #define V4L2_IOCTLS ARRAY_SIZE(v4l2_ioctls)
>

This should go through a control, not an ioctl. Strings control have recently 
been introduced, it should be fairly easy to create binary controls for such 
cases.

-- 
Regards,

Laurent Pinchart
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to