1
0
Fork 0
alistair23-linux/drivers/media/platform/vimc
André Almeida 77ae46e11d media: vimc: cap: check v4l2_fill_pixfmt return value
v4l2_fill_pixfmt() returns -EINVAL if the pixelformat used as parameter is
invalid or if the user is trying to use a multiplanar format with the
singleplanar API. Currently, the vimc_cap_try_fmt_vid_cap() returns such
value, but vimc_cap_s_fmt_vid_cap() is ignoring it. Fix that and returns
an error value if vimc_cap_try_fmt_vid_cap() has failed.

Signed-off-by: André Almeida <andrealmeid@collabora.com>
Suggested-by: Helen Koike <helen.koike@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-06-24 14:58:40 -04:00
..
Kconfig Linux 5.2-rc2 2019-05-28 11:21:51 -04:00
Makefile media: vimc: Makefile: file cleanup 2019-06-21 17:08:09 -04:00
vimc-capture.c media: vimc: cap: check v4l2_fill_pixfmt return value 2019-06-24 14:58:40 -04:00
vimc-common.c media: vimc: Makefile: file cleanup 2019-06-21 17:08:09 -04:00
vimc-common.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
vimc-core.c Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
vimc-debayer.c media: vimc: debayer: Fix typos 2019-06-21 17:06:59 -04:00
vimc-scaler.c Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
vimc-sensor.c Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
vimc-streamer.c media: vimc: stream: add missing function documentation 2019-06-21 17:17:25 -04:00
vimc-streamer.h media: vimc: propagate pixel format in the stream 2019-04-22 10:58:51 -04:00