From: Hans Verkuil <hans.verkuil@xxxxxxxxx> The first patch just simplifies the logic in the code and makes no functional changes. The second patch improves the vidioc_cropcap handling with respect to obtaining the pixel aspect ratio. It was a bit buggy which I realized after reviewing the new rcar-vin driver. Regards, Hans Hans Verkuil (2): v4l2-ioctl: simplify code v4l2-ioctl: improve cropcap handling drivers/media/v4l2-core/v4l2-ioctl.c | 71 +++++++++++++++++++++++------------- 1 file changed, 45 insertions(+), 26 deletions(-) -- 2.7.0 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html