]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Char: mxser_new, fix TIOCMIWAIT
authorJiri Slaby <jirislaby@gmail.com>
Mon, 23 Apr 2007 21:41:03 +0000 (14:41 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 24 Apr 2007 15:23:07 +0000 (08:23 -0700)
commitb446a4a5757fe1287bf3472efcdde6b59dfd63ad
treeca74e82f6e4b88265342ff9ba22e16cf8e2bc727
parent67d2bc58afdd5168dce54ae06f5f30038c59f498
Char: mxser_new, fix TIOCMIWAIT

There was schedule() missing in the TIOCMIWAIT ioctl.  Solve it by moving
the code to the wait_event_interruptible.

Cc: Jan "Yenya" Kasprzak <kas@fi.muni.cz>
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/mxser_new.c