diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2013-08-26 06:17:51 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-10-31 08:10:10 -0200 |
commit | 769980dea10c0b6edb1903119fe0a93ab1bf8194 (patch) | |
tree | f731cde879748659f40c23c34b20b99ff42f185a /include/media | |
parent | 7f6b11a18c30743a7099d6e3110e45bd1b2cf54c (diff) | |
download | op-kernel-dev-769980dea10c0b6edb1903119fe0a93ab1bf8194.zip op-kernel-dev-769980dea10c0b6edb1903119fe0a93ab1bf8194.tar.gz |
[media] v4l: Fix typo in v4l2_subdev_get_try_crop()
The helper function is defined by a macro that is erroneously called
with the compose rectangle instead of the crop rectangle. Fix it.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/v4l2-subdev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h index 27b2850..d67210a 100644 --- a/include/media/v4l2-subdev.h +++ b/include/media/v4l2-subdev.h @@ -641,7 +641,7 @@ struct v4l2_subdev_fh { } __V4L2_SUBDEV_MK_GET_TRY(v4l2_mbus_framefmt, format, try_fmt) -__V4L2_SUBDEV_MK_GET_TRY(v4l2_rect, crop, try_compose) +__V4L2_SUBDEV_MK_GET_TRY(v4l2_rect, crop, try_crop) __V4L2_SUBDEV_MK_GET_TRY(v4l2_rect, compose, try_compose) #endif |