diff options
| author | Dave Stevenson <[email protected]> | 2019-06-29 21:31:41 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-07-01 09:10:19 +0200 |
| commit | 1029e7a71e51ebd6bd01f973b427c95634401f15 (patch) | |
| tree | f0809bc21f04409eca80d315ec38b002f0bf8c10 /tools/perf/scripts/python | |
| parent | eb3539767a358129c20e536774eb1fa67b46ac27 (diff) | |
staging: bcm2835-camera: Add sanity checks for queue_setup/CREATE_BUFS
Fixes a v4l2-compliance failure when passed a buffer that is
too small.
queue_setup wasn't handling the case where *nplanes != 0, as
used from CREATE_BUFS and requiring the driver to sanity
check the provided buffer parameters. It was assuming that
it was always being used in the REQBUFS case where it provides
the buffer properties.
Signed-off-by: Dave Stevenson <[email protected]>
Signed-off-by: Stefan Wahren <[email protected]>
Acked-by: Hans Verkuil <[email protected]>
Acked-by: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions