diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-11-20 08:20:48 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-11-20 08:20:48 -0200 |
commit | 64f1423a469bd3837f84cbf807ba60b113c07245 (patch) | |
tree | 2c418736ebd5ae6f016590f76ec630ce5a714539 /linux/drivers/media/radio | |
parent | 17f326133bb934374337530203b3ae0013c5ed28 (diff) | |
download | mediapointer-dvb-s2-64f1423a469bd3837f84cbf807ba60b113c07245.tar.gz mediapointer-dvb-s2-64f1423a469bd3837f84cbf807ba60b113c07245.tar.bz2 |
Add missing spin_unlock to saa6588 decoder driver
From: Ira Snyder <kernel@irasnyder.com>
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 <devel@irasnyder.com>
Signed-off-by: Hans J. Koch <koch@hjk-az.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/radio')
0 files changed, 0 insertions, 0 deletions