From: Brandon Philips Date: Thu, 27 Sep 2007 23:55:17 +0000 (-0300) Subject: V4L/DVB (6275): V4L: vivi.c remove the "resource" locking X-Git-Tag: v2.6.24-rc1~1463^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba32bd95d431525ad2ffac97cadf9ee40b63939e;p=pandora-kernel.git 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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed