diff options
| author | Kamal Dasu <kamal.dasu@broadcom.com> | 2026-03-05 15:21:57 -0500 |
|---|---|---|
| committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2026-03-11 16:32:40 +0100 |
| commit | da9ba4dcc01e7cf52b7676f0ee9607b8358c2171 (patch) | |
| tree | e37e5c109d8e0931a793d4af286e667a6b17321e /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux-stable.git | |
| parent | bab2bc6e850a697a23b9e5f0e21bb8c187615e95 (diff) | |
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 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
