mtd: rawnand: brcmnand: Allow working without interrupts
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 7 Jan 2022 18:46:10 +0000 (10:46 -0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Sun, 23 Jan 2022 15:37:18 +0000 (16:37 +0100)
commitf5619f3774d0ef6ddbb8de4c782cc4e42966c524
tree701bc98c861fe3dba98b91ab6b8ff9592821ba91
parent75ac944722b09faaffeb10bae355f5a1fb676107
mtd: rawnand: brcmnand: Allow working without interrupts

The BCMA devices include the brcmnand controller but they do not wire up
any interrupt line, allow the main interrupt to be optional and update
the completion path to also check for the lack of an interrupt line.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220107184614.2670254-6-f.fainelli@gmail.com
drivers/mtd/nand/raw/brcmnand/brcmnand.c