summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLad, Prabhakar <prabhakar.csengg@gmail.com>2015-03-08 11:40:41 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-04-02 18:11:18 -0300
commitf314002279a4984cca86b5fa3920b6c84171beab (patch)
treed07fce462b139d3b127c69b6eece829dd5eb45d0 /tools/perf/scripts/python
parentcd3c38effc6f7eac1b1aa64ba08dc8d5c5d0c809 (diff)
downloadkernel-f314002279a4984cca86b5fa3920b6c84171beab.tar.gz
[media] media: blackfin: bfin_capture: improve queue_setup() callback
This patch does the following: a: returns -EINVAL in case format image size is less then current image size. b: assigns nbuffers to two in case the total of vq->num_buffers and nbuffers is less then the number of buffers required by driver. c: sets the sizes[0] of plane according to the fmt passed or which is being set in the device. Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Tested-by: Scott Jiang <scott.jiang.linux@gmail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions