kernel: bump 4.19 to 4.19.90
[openwrt/staging/wigyori.git] / target / linux / brcm2708 / patches-4.19 / 950-0519-tty-amba-pl011-allow-shared-interrupt.patch
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
5
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.
10
11 Signed-off-by: Doug Berger <opendmb@gmail.com>
12 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
13 ---
14 drivers/tty/serial/amba-pl011.c | 3 ++-
15 1 file changed, 2 insertions(+), 1 deletion(-)
16
17 --- a/drivers/tty/serial/amba-pl011.c
18 +++ b/drivers/tty/serial/amba-pl011.c
19 @@ -1733,7 +1733,8 @@ static int pl011_allocate_irq(struct uar
20 {
21 pl011_write(uap->im, uap, REG_IMSC);
22
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",
25 + uap);
26 }
27
28 /*