firmware: cs_dsp: Add KUnit testing of client callbacks

Test that the cs_dsp_client_ops callbacks are called when expected.

pre_run, post_run - when cs_dsp_run() is called.
pre_stop, post_stop - when cs_dsp_stop() is called
control_add - when a WMFW is loaded
control_remove - when cs_dsp_remove() is called

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20241212143725.1381013-13-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Richard Fitzgerald 2024-12-12 14:37:25 +00:00 • committed by Mark Brown
commit 75a4a6ef61
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
2 changed files with 689 additions and 0 deletions