diff options
| author | Kevin Hilman <khilman@baylibre.com> | 2016-12-07 16:30:23 -0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-01-31 08:01:07 -0200 |
| commit | 62dd4acd0bc8640ff2804bf8fda5baace266e95f (patch) | |
| tree | f4253db20c580af79d1596b8ec564bbb025890f9 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | [media] davinci: vpif_capture: remove hard-coded I2C adapter id (diff) | |
| download | linux-62dd4acd0bc8640ff2804bf8fda5baace266e95f.tar.gz linux-62dd4acd0bc8640ff2804bf8fda5baace266e95f.zip | |
[media] davinci: vpif_capture: fix start/stop streaming locking
Video capture subdevs may be over I2C and may sleep during xfer, so we
cannot do IRQ-disabled locking when calling the subdev.
The IRQ-disabled locking is meant to protect the DMA queue list
throughout the rest of the driver, so update the locking in
[start|stop]_streaming to protect just this list, and update the irqlock
comment to reflect what it actually protects.
Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
