From: Guennadi Liakhovetski Date: Tue, 8 May 2012 20:41:33 +0000 (-0300) Subject: [media] V4L: soc-camera: switch to using the existing .enum_framesizes() X-Git-Tag: staging/for_v3.5~108 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9633c0867fb5fc1eef8bd3c4e7f413034d2c5367;p=profile%2Fivi%2Fkernel-x86-ivi.git [media] 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 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/soc_camera.c b/drivers/media/video/soc_camera.c index cfac535..0421bf9 100644 --- a/drivers/media/video/soc_camera.c +++ b/drivers/media/video/soc_camera.c @@ -1262,7 +1262,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;