From: Karsten Keil Date: Thu, 18 Oct 2007 10:04:31 +0000 (-0700) Subject: i4l: fix random freezes with AVM B1 drivers X-Git-Tag: v2.6.24-rc1~448 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9713d9e650045f7f2afd81d58a068827be306993;p=pandora-kernel.git i4l: fix random freezes with AVM B1 drivers This fix the same issue which was debbuged for the C4 controller for the B1 versions. The capilib_ function modify or traverse a linked list without locking. This patch extends the existing locking to the calls of these function to prevent access to a list which is in the middle of a modification. Signed-off-by: Karsten Keil C: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed