Skip to content

Commit 75a4a6e

Browse files
rfvirgilbroonie
authored andcommitted
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>
1 parent feb5fb0 commit 75a4a6e

2 files changed

Lines changed: 689 additions & 0 deletions

File tree

drivers/firmware/cirrus/test/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ cs_dsp_test_utils-objs := \
1111
cs_dsp_test-objs := \
1212
cs_dsp_test_bin.o \
1313
cs_dsp_test_bin_error.o \
14+
cs_dsp_test_callbacks.o \
1415
cs_dsp_test_control_parse.o \
1516
cs_dsp_test_control_cache.o \
1617
cs_dsp_test_control_rw.o \

0 commit comments

Comments
 (0)