]> err.no Git - linux-2.6/commit
[PATCH] serial/68360serial: replace schedule_timeout() with msleep_interruptible()
authorNishanth Aravamudan <nacc@us.ibm.com>
Sat, 25 Jun 2005 21:59:32 +0000 (14:59 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 25 Jun 2005 23:25:10 +0000 (16:25 -0700)
commit5d582b4ef6df853ca2da46135855cd6536c0205b
tree4e1a42e132967f5aab8c26a11810e6b06a95fb92
parentf353488ce48e7a0311fe764284096481b455fbe9
[PATCH] serial/68360serial: replace schedule_timeout() with msleep_interruptible()

Use msleep_interruptible() instead of schedule_timeout() in send_break() to
guarantee the task delays as expected.  Change @duration's units to
milliseconds, and modify arguments in callers appropriately.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/serial/68360serial.c