]> git.baikalelectronics.ru Git - kernel.git/commit
serial/sunzilog: fix keyboard on SUN SPARCstation
authorSam Ravnborg <sam@ravnborg.org>
Wed, 4 Apr 2012 07:35:06 +0000 (09:35 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Apr 2012 07:37:10 +0000 (00:37 -0700)
commit97148ce2cfadf7f252599c54ed61a2acb4879c30
tree873fe868515b33454c9aa84d76503d563590aff4
parentb8feeaa8cd93b0885902ecd727188d8f5a8b0e4a
serial/sunzilog: fix keyboard on SUN SPARCstation

The keyboard on my SUN SPARCstation 5 no longer worked.

    The culprint was: 66f58bf27e65dedf8a3cee0e920f0e633c5c9c4f
    ("serial: Kill off NO_IRQ")

Fix up logic for no irq / irq so the keyboard works again.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Alan Cox <alan@linux.intel.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/tty/serial/sunzilog.c