diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2012-05-08 16:41:33 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-15 15:14:23 -0400 |
commit | 9633c0867fb5fc1eef8bd3c4e7f413034d2c5367 (patch) | |
tree | 218fde547e0bae2e0fca2d045329f378cd7afa68 /drivers/media/video | |
parent | 67e86524b907ed2189f4875cdbe7a5249c71ebb2 (diff) |
[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 <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | 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 cfac53544ba6..0421bf9453b4 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, | |||
1262 | /* map xlate-code to pixel_format, sensor only handle xlate-code*/ | 1262 | /* map xlate-code to pixel_format, sensor only handle xlate-code*/ |
1263 | fsize_mbus.pixel_format = xlate->code; | 1263 | fsize_mbus.pixel_format = xlate->code; |
1264 | 1264 | ||
1265 | ret = v4l2_subdev_call(sd, video, enum_mbus_fsizes, &fsize_mbus); | 1265 | ret = v4l2_subdev_call(sd, video, enum_framesizes, &fsize_mbus); |
1266 | if (ret < 0) | 1266 | if (ret < 0) |
1267 | return ret; | 1267 | return ret; |
1268 | 1268 | ||