commit | ceede9fa8939e40ad0ddb4ad1355f45c6f1d3478 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Wed May 09 04:43:12 2012 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Mon May 14 09:21:59 2012 -0300 |
tree | 201155f368f69a4875b523f899aed80226fe8822 | |
parent | a67e17221429c0322e543ae4bf0b25259c3416a5 [diff] |
[media] pwc: Fix locking My last locking rework for pwc mistakenly assumed that videbuf2 does its own locking, but it does not! This patch fixes the missing locking by moving over the the video_device lock, and introducing a separate lock for the videobuf2_queue. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>