diff options
| author | Mark Brown <broonie@kernel.org> | 2025-09-23 10:57:52 +0200 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-09-23 10:57:52 +0200 |
| commit | 2bfb20b65d9bc1d0de58f8c28ca9d6f1d27bbc01 (patch) | |
| tree | 28dd423bd06eff7e930d203f8b3ed4c0227cce82 /tools/lib | |
| parent | 089558a9baaceb68b58c31cab658b7117743c452 (diff) | |
| parent | ad4728740bd68d74365a43acc25a65339a9b2173 (diff) | |
spi: rpc-if: Add resume support for RZ/G3E
Merge series from Biju Das <biju.das.jz@bp.renesas.com>:
On RZ/G3E using PSCI, s2ram powers down the SoC. After resume,
reinitialize the hardware for SPI operations.
Also Replace the macro SIMPLE_DEV_PM_OPS->DEFINE_SIMPLE_DEV_PM_OPS macro
and use pm_sleep_ptr(). This lets us drop the check for CONFIG_PM_SLEEP
and __maybe_unused attribute from PM functions.
Diffstat (limited to 'tools/lib')
| -rw-r--r-- | tools/lib/subcmd/help.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/lib/subcmd/help.c b/tools/lib/subcmd/help.c index 9ef569492560..ddaeb4eb3e24 100644 --- a/tools/lib/subcmd/help.c +++ b/tools/lib/subcmd/help.c @@ -75,6 +75,9 @@ void exclude_cmds(struct cmdnames *cmds, struct cmdnames *excludes) size_t ci, cj, ei; int cmp; + if (!excludes->cnt) + return; + ci = cj = ei = 0; while (ci < cmds->cnt && ei < excludes->cnt) { cmp = strcmp(cmds->names[ci]->name, excludes->names[ei]->name); |
