summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorIuliana Prodan <iuliana.prodan@nxp.com>2025-12-04 14:28:23 +0200
committerMathieu Poirier <mathieu.poirier@linaro.org>2025-12-14 19:04:21 -0700
commitd62e0e92e589c53c4320ed5914af5fe103f5ce7e (patch)
treea15ff8684fe22b66dee99d62cd7758c84ae31f41 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parent70eaa8efaa4c6f5196c4151f865d29c5ec3e5004 (diff)
remoteproc: imx_dsp_rproc: Skip RP_MBOX_SUSPEND_SYSTEM when mailbox TX channel is uninitialized
Firmwares that do not use mailbox communication (e.g., the hello_world sample) leave priv->tx_ch as NULL. The current suspend logic unconditionally sends RP_MBOX_SUSPEND_SYSTEM, which is invalid without an initialized TX channel. Detect the no_mailboxes case early and skip sending the suspend message. Instead, proceed directly to the runtime PM suspend path, which is the correct behavior for firmwares that cannot respond to mailbox requests. Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com> Link: https://lore.kernel.org/r/20251204122825.756106-1-iuliana.prodan@oss.nxp.com Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions