]> err.no Git - linux-2.6/commit
V4L/DVB (6215): Bugfix for saa6588.c, add forgotten spin_lock_init()
authorHans-Jürgen Koch <hjk@linutronix.de>
Wed, 12 Sep 2007 19:20:43 +0000 (16:20 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 01:14:35 +0000 (22:14 -0300)
commit588005e1008f2cea61b7a1ae2a86c531e99b8c9c
tree4d84d4c0621ffa827cb5e48db634d8380203ed5f
parent39f46adef8e83653b4716369683c134e1413ad30
V4L/DVB (6215): Bugfix for saa6588.c, add forgotten spin_lock_init()

There's a serious bug in saa6588.c, it uses a non-initialized spin_lock.
Funny thing is that it works fine with bttv, but completly freezes the
machine if e.g. saa7134 is loaded.

Thanks to Derek Philip for reporting this bug on the rdsd-devel list.

This patch adds the missing spin_lock_init().

Signed-off-by: Hans J. Koch <hjk@linutronix.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/saa6588.c