diff options
author | Boris Brezillon <boris.brezillon@collabora.com> | 2019-06-05 12:46:25 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-06-10 14:52:03 -0400 |
commit | f0d2b7a8915a00917207dd23aaf8554d7bf777b0 (patch) | |
tree | 0a9d03fe3a3134d7296bfd1249a63e749615f1b7 /drivers/staging/media/imx | |
parent | edadd68031e5b7c1ba0c413a9549dce62a02844c (diff) | |
download | talos-op-linux-f0d2b7a8915a00917207dd23aaf8554d7bf777b0.tar.gz talos-op-linux-f0d2b7a8915a00917207dd23aaf8554d7bf777b0.zip |
media: v4l2: Fix the _MPLANE format check in v4l_enum_fmt()
CAP_M2M_MPLANE means the device supports _MPLANE formats for both
capture and output. Adjust the check to avoid EINVAL errors on
such devices.
Reported-by: Maxime Jourdan <mjourdan@baylibre.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/staging/media/imx')
0 files changed, 0 insertions, 0 deletions