diff options
author | Philipp Zabel <[email protected]> | 2019-04-08 08:32:55 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2019-04-22 12:11:13 -0400 |
commit | 0eecc61947ed329659a9fa9ef7d0959b1c84259d (patch) | |
tree | 6f43cb2a99c0fdda55960c837ba967828a960c89 /drivers/media/platform/vimc/vimc-streamer.c | |
parent | 01ba2e65e445d9cc5fb87ba1136f7b693dfb92dc (diff) |
media: coda: throw error on create_bufs with too small size
If VIDIOC_CREATE_BUFS is called with a sizeimage smaller than the
queue sizeimage, fail with -EINVAL instead of correcting the size
and continuing without error. This is required by v4l2-compliance.
Signed-off-by: Philipp Zabel <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-streamer.c')
0 files changed, 0 insertions, 0 deletions