summaryrefslogtreecommitdiff
path: root/include/linux/dmapool.h
diff options
context:
space:
mode:
authorKamal Dasu <kamal.dasu@broadcom.com>2026-03-05 23:21:57 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2026-03-11 18:32:40 +0300
commitda9ba4dcc01e7cf52b7676f0ee9607b8358c2171 (patch)
treee37e5c109d8e0931a793d4af286e667a6b17321e /include/linux/dmapool.h
parentbab2bc6e850a697a23b9e5f0e21bb8c187615e95 (diff)
downloadlinux-da9ba4dcc01e7cf52b7676f0ee9607b8358c2171.tar.xz
mtd: rawnand: brcmnand: skip DMA during panic write
When oops_panic_write is set, the driver disables interrupts and switches to PIO polling mode but still falls through into the DMA path. DMA cannot be used reliably in panic context, so make the DMA path an else branch to ensure only PIO is used during panic writes. Fixes: c1ac2dc34b51 ("mtd: rawnand: brcmnand: When oops in progress use pio and interrupt polling") Signed-off-by: Kamal Dasu <kamal.dasu@broadcom.com> Reviewed-by: William Zhang <william.zhang@broadcom.com> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'include/linux/dmapool.h')
0 files changed, 0 insertions, 0 deletions