]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
firmware: cs_dsp: test_bin: Make patch function a test parameter
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Wed, 31 Dec 2025 17:27:06 +0000 (17:27 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 5 Jan 2026 13:18:26 +0000 (13:18 +0000)
commita01816edf11fc9e6c8216bc03870311ce2add5a2
treea16b1807252c71d713f9310775f8382dd2b5e721
parentafcbb0460e0a9f0e971512c66619fc649bdb86a6
firmware: cs_dsp: test_bin: Make patch function a test parameter

Make the call to cs_dsp_mock_bin_add_patch() a function pointer in
the test case parameters, instead of calling it directly.

This is to allow for future parameterization by which function to
call to add a patch.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20251231172711.450024-4-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/firmware/cirrus/test/cs_dsp_test_bin.c