diff mbox

[REVIEW,09/11] davinci/vpfe_capture: remove current_norm

Message ID fd5a003b7dfa01578da8e0fc92a9c1df551cd594.1362387265.git.hans.verkuil@cisco.com (mailing list archive)
State Not Applicable
Headers show

Commit Message

Hans Verkuil March 4, 2013, 9:05 a.m. UTC
From: Hans Verkuil <hans.verkuil@cisco.com>

Since vpfe_capture already provided a g_std op setting current_norm
does not actually do anything. Remove it.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
---
 drivers/media/platform/davinci/vpfe_capture.c |    1 -
 1 file changed, 1 deletion(-)

Comments

Lad, Prabhakar March 4, 2013, 9:19 a.m. UTC | #1
Hi Hans,

Thanks for the patch!

On Mon, Mar 4, 2013 at 2:35 PM, Hans Verkuil <hverkuil@xs4all.nl> wrote:
> From: Hans Verkuil <hans.verkuil@cisco.com>
>
> Since vpfe_capture already provided a g_std op setting current_norm
> does not actually do anything. Remove it.
>
> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>

Acked-by: Lad, Prabhakar <prabhakar.lad@ti.com>

Regards,
--Prabhakar Lad

> ---
>  drivers/media/platform/davinci/vpfe_capture.c |    1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/media/platform/davinci/vpfe_capture.c b/drivers/media/platform/davinci/vpfe_capture.c
> index 70facc0..3d1af67 100644
> --- a/drivers/media/platform/davinci/vpfe_capture.c
> +++ b/drivers/media/platform/davinci/vpfe_capture.c
> @@ -1884,7 +1884,6 @@ static int vpfe_probe(struct platform_device *pdev)
>         vfd->fops               = &vpfe_fops;
>         vfd->ioctl_ops          = &vpfe_ioctl_ops;
>         vfd->tvnorms            = 0;
> -       vfd->current_norm       = V4L2_STD_PAL;
>         vfd->v4l2_dev           = &vpfe_dev->v4l2_dev;
>         snprintf(vfd->name, sizeof(vfd->name),
>                  "%s_V%d.%d.%d",
> --
> 1.7.10.4
>
diff mbox

Patch

diff --git a/drivers/media/platform/davinci/vpfe_capture.c b/drivers/media/platform/davinci/vpfe_capture.c
index 70facc0..3d1af67 100644
--- a/drivers/media/platform/davinci/vpfe_capture.c
+++ b/drivers/media/platform/davinci/vpfe_capture.c
@@ -1884,7 +1884,6 @@  static int vpfe_probe(struct platform_device *pdev)
 	vfd->fops		= &vpfe_fops;
 	vfd->ioctl_ops		= &vpfe_ioctl_ops;
 	vfd->tvnorms		= 0;
-	vfd->current_norm	= V4L2_STD_PAL;
 	vfd->v4l2_dev 		= &vpfe_dev->v4l2_dev;
 	snprintf(vfd->name, sizeof(vfd->name),
 		 "%s_V%d.%d.%d",