serial: sh-sci: Improve support for separate TEI and DRI interrupts
authorChris Brandt <chris.brandt@renesas.com>
Tue, 31 Jul 2018 10:41:39 +0000 (05:41 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Aug 2018 08:07:09 +0000 (10:07 +0200)
commit628c534ae73581fd21a09a27b7a4222b01a44d64
tree635f921d84f483e0c729ad8b6d8cee01738868d2
parent7acece71a517cad83a0842a94d94c13f271b680c
serial: sh-sci: Improve support for separate TEI and DRI interrupts

Some SCIF versions mux error and break interrupts together and then provide
a separate interrupt ID for just TEI/DRI.

Allow all 6 types of interrupts to be specified via platform data (or DT)
and for any signals that are muxed together (have the same interrupt
number) simply register one handler.

Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sh-sci.c