diff options
| author | Breno Leitao <leitao@debian.org> | 2026-06-10 02:09:40 -0700 |
|---|---|---|
| committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2026-06-29 16:37:03 +0200 |
| commit | 369a091884077225ae8e8731fd8e8c93e5683dcc (patch) | |
| tree | 908f78d9726d2d7e7b02d9c6fd9dc2a1835e93cc /scripts/objdiff | |
| parent | dc59e4fea9d83f03bad6bddf3fa2e52491777482 (diff) | |
| download | linux-369a091884077225ae8e8731fd8e8c93e5683dcc.tar.gz linux-369a091884077225ae8e8731fd8e8c93e5683dcc.zip | |
mtd: cfi_cmdset_0001: silence spurious suspend warning on shutdown
cfi_intelext_reboot() puts each chip into FL_SHUTDOWN (array mode) via
the reboot notifier so the bootloader can read the flash on the next
boot. If pm_suspend then runs on the same chip during the shutdown
sequence, cfi_intelext_suspend() falls into the default branch and
prints:
Flash device refused suspend due to active operation (state 20)
The chip is not active; it is already shut down. Treat FL_SHUTDOWN the
same as FL_PM_SUSPENDED in the suspend switch so nothing is done and
no warning is emitted.
Reproduced on every boot of the QEMU 'virt' arm64 machine, which
exposes two Intel-Sharp pflash chips.
Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
