diff options
| author | Dave Stevenson <dave.stevenson@raspberrypi.org> | 2019-06-29 15:13:18 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-07-01 10:09:06 +0300 |
| commit | a1120db35717ea78b977516a57b054cdbea60c45 (patch) | |
| tree | 075fc3a419f3b432e87ba339bbfca5529a9d37d8 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 8dedab2903f152aa3cee9ae3d57c828dea0d356e (diff) | |
| download | linux-a1120db35717ea78b977516a57b054cdbea60c45.tar.xz | |
staging: bcm2835-camera: Do not bulk receive from service thread
vchi_bulk_queue_receive will queue up to a default of 4
bulk receives on a connection before blocking.
If called from the VCHI service_callback thread, then
that thread is unable to service the VCHI_CALLBACK_BULK_RECEIVED
events that would enable the queue call to succeed.
Add a workqueue to schedule the call vchi_bulk_queue_receive
in an alternate context to avoid the lock up.
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Acked-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
