summaryrefslogtreecommitdiff
path: root/include/media
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2013-08-26 06:17:51 -0300
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:52:13 +0900
commit6c54bc78ee21bb21f42a76f9bb803c416d2e22c2 (patch)
tree4c6fe2b4e0fd5e094ea886e38e861cdd3bf9661c /include/media
parent9deec44c3c168512cbefc3f911c32a50112d66c8 (diff)
downloadlinux-3.10-6c54bc78ee21bb21f42a76f9bb803c416d2e22c2.tar.gz
linux-3.10-6c54bc78ee21bb21f42a76f9bb803c416d2e22c2.tar.bz2
linux-3.10-6c54bc78ee21bb21f42a76f9bb803c416d2e22c2.zip
upstream: [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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h
index 77f12819b4c..78b08f71886 100644
--- a/include/media/v4l2-subdev.h
+++ b/include/media/v4l2-subdev.h
@@ -630,7 +630,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