diff options
author | 2007-09-27 20:55:17 -0300 | |
---|---|---|
committer | 2007-10-10 00:03:05 -0300 | |
commit | ba32bd95d431525ad2ffac97cadf9ee40b63939e (patch) | |
tree | edb0f38f00c980bd4c95bd82093c8cfad9653a26 /drivers/acpi/debug.c | |
parent | V4L/DVB (6274): V4L: vivi.c replace logic in vivi_poll with videobuf_poll_stream (diff) | |
download | linux-dev-ba32bd95d431525ad2ffac97cadf9ee40b63939e.tar.xz linux-dev-ba32bd95d431525ad2ffac97cadf9ee40b63939e.zip |
V4L/DVB (6275): V4L: vivi.c remove the "resource" locking
The "resource" locking in vivi isn't needed since
streamon/streamoff/read_stream do mutual exclusion using
q->reading/q->streaming.
Plus it is sort of broken:
a) res_locked() use in vivi_read() is racey.
b) res_free() calls mutex_lock twice causing streamoff to break
Signed-off-by: Brandon Philips <bphilips@suse.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/acpi/debug.c')
0 files changed, 0 insertions, 0 deletions