]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
firmware: cs_dsp: mock_bin: Add function to create long-offset patches
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Wed, 31 Dec 2025 17:27:08 +0000 (17:27 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 5 Jan 2026 13:18:28 +0000 (13:18 +0000)
commit880f1eb5b95ccf250f567927462a7d3fa8f2a727
tree74654d9ea9390c3c67f03ace1d4b7f9417dcc458
parent9e6f4c5b2d3af58390cf554ada9591935c5ac774
firmware: cs_dsp: mock_bin: Add function to create long-offset patches

Add cs_dsp_mock_bin_add_patch_off32(). This is the same as
cs_dsp_mock_bin_add_patch() except that it puts the offset in the
new 32-bit offset field and modifies the block type to indicate
that it uses the long offset.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20251231172711.450024-6-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/firmware/cirrus/test/cs_dsp_mock_bin.c
include/linux/firmware/cirrus/cs_dsp_test_utils.h