diff options
| author | Ricardo Ribalda <ribalda@chromium.org> | 2021-10-07 00:26:18 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-10-08 13:27:07 +0200 |
| commit | 37b198eeb0d41382d80b45101bac3a2e400e67a8 (patch) | |
| tree | 735ad11ade26f60a72ee02e7945779be7716e842 /lib/netdev-notifier-error-inject.c | |
| parent | af1ffd628adfb26f7dafe8e94e0f4bad99f44c3e (diff) | |
media: ipu3-cio2 Check num_planes and sizes in queue_setup
If num_planes is different than zero num_planes and sizes must be
checked to support the format.
Fix the following v4l2-compliance error:
Buffer ioctls (Input 0):
fail: v4l2-test-buffers.cpp(717): q.create_bufs(node, 1, &fmt) != EINVAL
test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: FAIL
Reviewed-by: Bingbu Cao <bingbu.cao@intel.com>
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
