]> git.baikalelectronics.ru Git - kernel.git/commit
tty: serial8250: allow platforms to override irq handler
authorJamie Iles <jamie@jamieiles.com>
Mon, 15 Aug 2011 09:17:52 +0000 (10:17 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 17:52:59 +0000 (10:52 -0700)
commit41ea4f025745d9ee9b26b7dca39737bb9521f4cd
tree69527bccf43c08d4aee538bc8b4469368908f9cb
parent548b1b39abc56b8a110408ef80a1b99e6a6a243f
tty: serial8250: allow platforms to override irq handler

Some ports (e.g. Synopsys DesignWare 8250) have special requirements for
handling the interrupts.  Allow these platforms to specify their own
interrupt handler that will override the default.
serial8250_handle_irq() is provided so that platforms can extend the IRQ
handler rather than completely replacing it.

Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/serial/8250.c
include/linux/serial_8250.h