Char: istallion, init+locking fixes
authorIngo Korb <ml@akana.de>
Tue, 17 Jul 2007 11:05:23 +0000 (04:05 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 17:23:10 +0000 (10:23 -0700)
commitb306122df9f9dbec7751133073b4d19b9197d22e
tree4f580370b4c025f3b6136ca15a2d8338bbbf27d6
parent186797ce330867b4c3609e503d2fee2fc6940954
Char: istallion, init+locking fixes

Move brdp->iosize assignment in stli_initecp up a few lines to stop the
driver from requesting an I/O region of length 0.

Remove spin_lock_irqsave/spin_unlock_irqrestore from __stli_sendcmd as
all users of that function take the lock already.

Signed-off-by: Ingo Korb <ml@akana.de>
Cc: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/istallion.c