]> bbs.cooldavid.org Git - net-next-2.6.git/commit
sh,sh-sci: Use NO_POLL_CHAR in the SCIF polled console code
authorJason Wessel <jason.wessel@windriver.com>
Fri, 21 May 2010 02:04:23 +0000 (21:04 -0500)
committerJason Wessel <jason.wessel@windriver.com>
Fri, 21 May 2010 02:04:23 +0000 (21:04 -0500)
commit3f255eb37e97e97dfec7cb8d4c75d543de231812
tree09d0c3d99bef610feba8732fcd0d78b3a47e1b9e
parentf5316b4aea024da9266d740322a5481657f6ce59
sh,sh-sci: Use NO_POLL_CHAR in the SCIF polled console code

The sci_poll_get_char() needs to return immediately if there is no
input from the chip to process, and must return a value of
NO_POLL_CHAR.

This allows kgdboc to process multiple polled devices while kgdb is
active.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
drivers/serial/sh-sci.c