diff options
| author | Ira Snyder <[email protected]> | 2006-11-20 07:20:48 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2006-11-26 08:52:37 -0200 |
| commit | a5bbc7d94cf1dcb2100eeaf68791a401ad7ce54d (patch) | |
| tree | 88812d920d7a50a63abe123a7618c5eac2c6272a /include/linux/debugobjects.h | |
| parent | 30d9464c76743160612e7de0b2f5f656c78915d3 (diff) | |
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 <[email protected]>
Signed-off-by: Hans J. Koch <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions