serial: meson: change interrupt description to tty name
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 19 Apr 2017 20:18:16 +0000 (22:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 May 2017 14:37:27 +0000 (16:37 +0200)
Change interrupt description from driver name to tty name
(e.g. ttyAML0). If multiple serial ports are enabled this
allows to determine which interrupt belongs to which port
in /proc/interrupts.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/meson_uart.c

index 171eb673ed8cb45a205a6eac1cad1588ba815bcf..082e038e67f8aeebd8a9f96d0fe24d73e2d28d47 100644 (file)
@@ -295,7 +295,7 @@ static int meson_uart_startup(struct uart_port *port)
        writel(val, port->membase + AML_UART_MISC);
 
        ret = request_irq(port->irq, meson_uart_interrupt, 0,
-                         meson_uart_type(port), port);
+                         port->name, port);
 
        return ret;
 }