From: Ira Snyder Date: Mon, 20 Nov 2006 10:20:48 +0000 (-0300) Subject: V4L/DVB (4849): Add missing spin_unlock to saa6588 decoder driver X-Git-Tag: v2.6.19~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5bbc7d94cf1dcb2100eeaf68791a401ad7ce54d;p=pandora-kernel.git V4L/DVB (4849): Add missing spin_unlock to saa6588 decoder driver Sparse noticed a lock imbalance in read_from_buf(). Further inspection shows that the lock should not be held when the function exits. This adds a spin_unlock_irqrestore(), so that every exit path of the read_from_buf() function is consistent. The unlock was missing on an error path. Signed-off-by: Ira W. Snyder Signed-off-by: Hans J. Koch Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed