RE: [PATCH 1/2] V4L: soc-camera: switch to using the existing .enum_framesizes()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for the patch! I am ok with it.

> -----Original Message-----
> From: Guennadi Liakhovetski [mailto:g.liakhovetski@xxxxxx] 
> Sent: Wednesday, May 09, 2012 5:01 AM
> To: Linux Media Mailing List
> Cc: Qing Xu
> Subject: [PATCH 1/2] V4L: soc-camera: switch to using the existing .enum_framesizes()
> 
> The recently introduced .enum_mbus_fsizes() v4l2-subdev video operation is
> a duplicate of the .enum_framesizes() operation, introduced earlier. Switch
> soc-camera over to using the original one.
> 
> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@xxxxxx>
> Cc: Qing Xu <qingx@xxxxxxxxxxx>
> ---
>  drivers/media/video/soc_camera.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/media/video/soc_camera.c b/drivers/media/video/soc_camera.c
> index b08696f..6707df4 100644
> --- a/drivers/media/video/soc_camera.c
> +++ b/drivers/media/video/soc_camera.c
> @@ -1259,7 +1259,7 @@ static int default_enum_framesizes(struct soc_camera_device *icd,
>  	/* map xlate-code to pixel_format, sensor only handle xlate-code*/
>  	fsize_mbus.pixel_format = xlate->code;
>  
> -	ret = v4l2_subdev_call(sd, video, enum_mbus_fsizes, &fsize_mbus);
> +	ret = v4l2_subdev_call(sd, video, enum_framesizes, &fsize_mbus);
>  	if (ret < 0)
>  		return ret;
>  
> -- 
> 1.7.2.5
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux