]> git.hungrycats.org Git - linux/commitdiff
ASoC: rockchip: rockchip_rt5645: Drop redundant probe error messages
authorbui duc phuc <phucduc.bui@gmail.com>
Thu, 6 Aug 2026 05:21:32 +0000 (12:21 +0700)
committerMark Brown <broonie@kernel.org>
Thu, 13 Aug 2026 14:46:04 +0000 (15:46 +0100)
Remove the probe error messages to avoid duplicate error reporting,
since the error is already reported by the called functions.

Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Link: https://patch.msgid.link/20260806052136.21034-11-phucduc.bui@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/rockchip/rockchip_rt5645.c

index 590b64b362f6cd5b5ef98054019e3f2df4527e11..0432eeabc64e2e811083d31ac352864aaebb2d6f 100644 (file)
@@ -191,11 +191,8 @@ static int snd_rk_mc_probe(struct platform_device *pdev)
        rk_dailink.platforms->of_node = rk_dailink.cpus->of_node;
 
        ret = snd_soc_of_parse_card_name(card, "rockchip,model");
-       if (ret) {
-               dev_err(&pdev->dev,
-                       "Soc parse card name failed %d\n", ret);
+       if (ret)
                goto put_cpu_of_node;
-       }
 
        ret = devm_snd_soc_register_card(&pdev->dev, card);
        if (ret) {