Skip to content

Commit a0b887f

Browse files
PacheNicobroonie
authored andcommitted
firmware: cs_dsp: tests: Depend on FW_CS_DSP rather then enabling it
FW_CS_DSP gets enabled if KUNIT is enabled. The test should rather depend on if the feature is enabled. Fix this by moving FW_CS_DSP to the depends on clause. Fixes: dd0b6b1 ("firmware: cs_dsp: Add KUnit testing of bin file download") Signed-off-by: Nico Pache <npache@redhat.com> Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Link: https://patch.msgid.link/20250411123608.1676462-4-rf@opensource.cirrus.com Reviewed-by: David Gow <davidgow@google.com> Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 96014d9 commit a0b887f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

drivers/firmware/cirrus/Kconfig

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,11 @@ config FW_CS_DSP
66

77
config FW_CS_DSP_KUNIT_TEST_UTILS
88
tristate
9-
depends on KUNIT && REGMAP
10-
select FW_CS_DSP
119

1210
config FW_CS_DSP_KUNIT_TEST
1311
tristate "KUnit tests for Cirrus Logic cs_dsp" if !KUNIT_ALL_TESTS
14-
depends on KUNIT && REGMAP
12+
depends on KUNIT && REGMAP && FW_CS_DSP
1513
default KUNIT_ALL_TESTS
16-
select FW_CS_DSP
1714
select FW_CS_DSP_KUNIT_TEST_UTILS
1815
help
1916
This builds KUnit tests for cs_dsp.

0 commit comments

Comments
 (0)