diff options
| author | Mingxuan Guo <gmx472@qq.com> | 2026-10-13 18:23:59 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-10-13 16:50:11 +0100 |
| commit | 80b3f283e9616821ba2f121ed5e4b2e6af93d771 (patch) | |
| tree | ae29c361600abd87236afff1b812df3c8a95b405 /scripts/Makefile.thinlto | |
| parent | ad6be54d13496a0b5c6d1edeea99504e438cdb7a (diff) | |
| download | linux-80b3f283e9616821ba2f121ed5e4b2e6af93d771.tar.gz linux-80b3f283e9616821ba2f121ed5e4b2e6af93d771.zip | |
firmware: cs_dsp: add a KUnit test for the cs_dsp_run() error path
Cover the case where the post_run client hook fails: cs_dsp_run() must
return the error and the DSP must not be left marked as running, and a
subsequent run must be able to start it again.
The test fails without the previous patch and passes with it. Full suite
run (UML, KUnit) on top of that patch:
before: Ran 5829 tests: passed: 5825, failed: 4
(cs_dsp_test_run_error_clears_running in each of the four
cs_dsp_callbacks_* suites)
after: Ran 5829 tests: passed: 5829
Signed-off-by: Mingxuan Guo <gmx472@qq.com>
Reviewed-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/tencent_113ABD187DD2A0C99CB7D4003B81AB94DC07@qq.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
