The cs35l56 shared test suites run
cs35l56_shared_test_onchip_speaker_id_pad_config() both with and
without pulls configured on the speaker ID pins by listing it twice
with KUNIT_CASE_PARAM(), which names the case after the function. Both
cases share a name, so they cannot be told apart in the results.

Use KUNIT_CASE_PARAM_UNIQUE() for these entries so that each case is
also named for the parameter generator it is run with, giving
cs35l56_shared_test_onchip_speaker_id_pad_config-cs35l56_shared_test_onchip_spkid_gen_params
and
cs35l56_shared_test_onchip_speaker_id_pad_config-cs35l56_shared_test_onchip_spkid_pull_gen_params.

Signed-off-by: Mark Brown <[email protected]>
---
 sound/soc/codecs/cs35l56-shared-test.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sound/soc/codecs/cs35l56-shared-test.c 
b/sound/soc/codecs/cs35l56-shared-test.c
index 4f52c8a192e5..c2aa524efbf6 100644
--- a/sound/soc/codecs/cs35l56-shared-test.c
+++ b/sound/soc/codecs/cs35l56-shared-test.c
@@ -847,10 +847,10 @@ static struct kunit_case cs35l56_shared_test_cases[] = {
                         cs35l56_shared_test_gpios_selftest_gen_params),
        KUNIT_CASE_PARAM(cs35l56_shared_test_get_onchip_speaker_id,
                         cs35l56_shared_test_onchip_spkid_gen_params),
-       KUNIT_CASE_PARAM(cs35l56_shared_test_onchip_speaker_id_pad_config,
-                        cs35l56_shared_test_onchip_spkid_gen_params),
-       KUNIT_CASE_PARAM(cs35l56_shared_test_onchip_speaker_id_pad_config,
-                        cs35l56_shared_test_onchip_spkid_pull_gen_params),
+       
KUNIT_CASE_PARAM_UNIQUE(cs35l56_shared_test_onchip_speaker_id_pad_config,
+                               cs35l56_shared_test_onchip_spkid_gen_params),
+       
KUNIT_CASE_PARAM_UNIQUE(cs35l56_shared_test_onchip_speaker_id_pad_config,
+                               
cs35l56_shared_test_onchip_spkid_pull_gen_params),
        KUNIT_CASE_PARAM(cs35l56_shared_test_stash_onchip_spkid_pins,
                         cs35l56_shared_test_onchip_spkid_pull_gen_params),
        KUNIT_CASE(cs35l56_shared_test_stash_onchip_spkid_pins_reject_invalid),

-- 
2.47.3


Reply via email to