commit | ba32bd95d431525ad2ffac97cadf9ee40b63939e | [log] [tgz] |
---|---|---|
author | Brandon Philips <bphilips@suse.de> | Thu Sep 27 20:55:17 2007 -0300 |
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | Wed Oct 10 00:03:05 2007 -0300 |
tree | edb0f38f00c980bd4c95bd82093c8cfad9653a26 | |
parent | 85c7c70bc241d506dffc1879158f77f8aac69734 [diff] |
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>