[media] media/uapi/v4l: clarify cropcap/crop/selection behavior
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 8 May 2017 14:35:06 +0000 (11:35 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 23 Jun 2017 12:22:17 +0000 (09:22 -0300)
commit8780f1d9d696c7f466a0ff2a2016476a7ebf42b6
tree2ee66411a8c138081ae0103705b0ab265419a3ec
parenteaec420f530d376d6bb6e547a741203344619f47
[media] media/uapi/v4l: clarify cropcap/crop/selection behavior

Unfortunately the use of 'type' was inconsistent for multiplanar
buffer types. Starting with 4.13 both the normal and _MPLANE variants
are allowed, thus making it possible to write sensible code.

Yes, we messed up :-(

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
[hans.verkuil@cisco.com: 4.14 -> 4.13 since this would go in for 4.13 after all]

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Documentation/media/uapi/v4l/vidioc-cropcap.rst
Documentation/media/uapi/v4l/vidioc-g-crop.rst
Documentation/media/uapi/v4l/vidioc-g-selection.rst