]> err.no Git - linux-2.6/commit
spi_bitbang: always grab lock with irqs blocked
authorDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 8 Jan 2008 23:32:40 +0000 (15:32 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 Jan 2008 00:10:35 +0000 (16:10 -0800)
commitd52df2e2ea2d881b1439bbdec7f67c27e0f47941
treea2035b8336b49e868aa27fec4ecb21294db6cb08
parenta2b484a29cc9f565b013c0e7f1e0cc22dec12456
spi_bitbang: always grab lock with irqs blocked

Fix a glitch reported by lockdep in the spi_bitbang code: it needs to
consistently block IRQs when holding that spinlock.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/spi/spi_bitbang.c