OSDN Git Service

PCI: brcmstb: Remove chained IRQ handler and data in one go
authorMartin Kaiser <martin@kaiser.cx>
Fri, 15 Jan 2021 21:15:32 +0000 (22:15 +0100)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tue, 19 Jan 2021 12:19:22 +0000 (12:19 +0000)
commit5ce6697a4460d06d4ea3ec8347974176591e1694
treeb289cc22fdb672eb909cc9309d69f6406dab9903
parentff591f7490cffef49c022e802b64499edb6137b6
PCI: brcmstb: Remove chained IRQ handler and data in one go

Call irq_set_chained_handler_and_data() to clear the chained handler
and the handler's data under irq_desc->lock.

See also 2cf5a03cb29d ("PCI/keystone: Fix race in installing chained
IRQ handler").

Link: https://lore.kernel.org/r/20210115211532.19837-1-martin@kaiser.cx
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
drivers/pci/controller/pcie-brcmstb.c