Re: [PATCH 12/34] brcmfmac: pcie: Fix crashes due to early IRQs

From: Linus Walleij
Date: Sun Jan 02 2022 - 00:52:07 EST


On Sun, Dec 26, 2021 at 4:38 PM Hector Martin <marcan@xxxxxxxxx> wrote:

> The driver was enabling IRQs before the message processing was
> initialized. This could cause IRQs to come in too early and crash the
> driver. Instead, move the IRQ enable and hostready to a bus preinit
> function, at which point everything is properly initialized.
>
> Fixes: 9e37f045d5e7 ("brcmfmac: Adding PCIe bus layer support.")
> Signed-off-by: Hector Martin <marcan@xxxxxxxxx>

Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij