]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Char: rocket, switch long delay to sleep
authorJiri Slaby <jirislaby@gmail.com>
Thu, 7 Feb 2008 08:16:32 +0000 (00:16 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 7 Feb 2008 16:42:33 +0000 (08:42 -0800)
commit48a67f5da1e605c0ec0534cb003ca0cd114f3d1b
tree2df59deb21a5636d9070bb35f22fe2678b186b9d
parent48103c527b2fcf5ead13ef14b34eb8893eaec06a
Char: rocket, switch long delay to sleep

Don't busy wait for whole 1s when registering some rocket modems. Sleep
instead since we are not in atomic.

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/rocket.c