diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2012-09-28 07:48:26 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-11-22 10:45:41 -0200 |
commit | 5c111913347e60c364776824e1ed766dd8958ffa (patch) | |
tree | 46a19c43a9367716a813ced88f9b40191869bada | |
parent | d63bb2790c0e1c44434cb2cc5292cd23d25d4ca5 (diff) | |
download | kernel_goldelico_gta04-5c111913347e60c364776824e1ed766dd8958ffa.zip kernel_goldelico_gta04-5c111913347e60c364776824e1ed766dd8958ffa.tar.gz kernel_goldelico_gta04-5c111913347e60c364776824e1ed766dd8958ffa.tar.bz2 |
[media] media: mx1_camera: use the default .set_crop() implementation
.set_crop() implementation in mx1_camera is identical with the default.
Remove the copy to switch to using the default stab.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/platform/soc_camera/mx1_camera.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/media/platform/soc_camera/mx1_camera.c b/drivers/media/platform/soc_camera/mx1_camera.c index bbe7099..032b8c9 100644 --- a/drivers/media/platform/soc_camera/mx1_camera.c +++ b/drivers/media/platform/soc_camera/mx1_camera.c @@ -470,14 +470,6 @@ static void mx1_camera_remove_device(struct soc_camera_device *icd) pcdev->icd = NULL; } -static int mx1_camera_set_crop(struct soc_camera_device *icd, - struct v4l2_crop *a) -{ - struct v4l2_subdev *sd = soc_camera_to_subdev(icd); - - return v4l2_subdev_call(sd, video, s_crop, a); -} - static int mx1_camera_set_bus_param(struct soc_camera_device *icd) { struct v4l2_subdev *sd = soc_camera_to_subdev(icd); @@ -689,7 +681,6 @@ static struct soc_camera_host_ops mx1_soc_camera_host_ops = { .add = mx1_camera_add_device, .remove = mx1_camera_remove_device, .set_bus_param = mx1_camera_set_bus_param, - .set_crop = mx1_camera_set_crop, .set_fmt = mx1_camera_set_fmt, .try_fmt = mx1_camera_try_fmt, .init_videobuf = mx1_camera_init_videobuf, |