diff options
| author | Prabhakar Lad <[email protected]> | 2014-09-06 12:26:50 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2014-09-21 20:16:18 -0300 |
| commit | 815789244eda0b3be11fb1824354ca20c8ec3508 (patch) | |
| tree | fcc44a2495aa971adbc8a5c3bab3bb337ce1eb38 /tools/perf/scripts/python | |
| parent | ead130335f35fb732921ee0ffde6639be35aa108 (diff) | |
[media] media: davinci: vpif_display: fix the check on suspend/resume callbacks
It is possible to call STREAMON without having any buffers queued.
So vb2_is_streaming() can return true without start_streaming()
having been called. Only after at least one buffer has been
queued will start_streaming be called.
The check vb2_is_streaming() is incorrect as this would start
the DMA without having proper DMA pointers set up. this patch
uses vb2_start_streaming_called() instead to check is streaming
was called.
Signed-off-by: Lad, Prabhakar <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions