]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: Intel: catpt: Complete coredump handling
authorCezary Rojewski <cezary.rojewski@intel.com>
Thu, 28 May 2026 08:34:42 +0000 (10:34 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 28 May 2026 18:12:48 +0000 (19:12 +0100)
commit7e5d59f407bc39d43b350cc45f7880647429eb5d
treea50023a37408921ac495122bff388542f5f5c19d
parente7ae89a0c97ce2b68b0983cd01eda67cf373517d
ASoC: Intel: catpt: Complete coredump handling

An exception may occur during the firmware booting procedure.  In such
case the firmware sends COREDUMP_REQUESTS and expects the driver to dump
relevant information and finish with the COREDUMP_RELEASE write.

To distinguish such situation from generic timeout, always signal
fw_ready completion when a coredump request is received and translate
it to -EREMOTEIO in catpt_boot_firmware().

The "FW READY" print makes the success clearly visible even when
the event-traces are not enabled.

Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://patch.msgid.link/20260528083444.1439233-2-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/catpt/ipc.c
sound/soc/intel/catpt/loader.c
sound/soc/intel/catpt/registers.h