1 From ea75a716955e85ad076dd2861ca9e41def406a1b Mon Sep 17 00:00:00 2001
2 From: Doug Berger <opendmb@gmail.com>
3 Date: Mon, 13 May 2019 20:59:45 +0200
4 Subject: [PATCH 519/806] tty: amba-pl011: allow shared interrupt
6 The PL011 register space includes all necessary status bits to
7 determine whether a device instance requires handling in response
8 to an interrupt. Therefore, multiple instances of the device could
9 be serviced by a single shared interrupt, which is the case on BCM7211.
11 Signed-off-by: Doug Berger <opendmb@gmail.com>
12 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
14 drivers/tty/serial/amba-pl011.c | 3 ++-
15 1 file changed, 2 insertions(+), 1 deletion(-)
17 --- a/drivers/tty/serial/amba-pl011.c
18 +++ b/drivers/tty/serial/amba-pl011.c
19 @@ -1735,7 +1735,8 @@ static int pl011_allocate_irq(struct uar
21 pl011_write(uap->im, uap, REG_IMSC);
23 - return request_irq(uap->port.irq, pl011_int, 0, "uart-pl011", uap);
24 + return request_irq(uap->port.irq, pl011_int, IRQF_SHARED, "uart-pl011",