]> git.hungrycats.org Git - linux/commitdiff
ASoC: mxs-sgtl5000: Drop redundant probe error messages
authorbui duc phuc <phucduc.bui@gmail.com>
Wed, 12 Aug 2026 10:14:18 +0000 (17:14 +0700)
committerMark Brown <broonie@kernel.org>
Wed, 12 Aug 2026 17:37:46 +0000 (18:37 +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>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260812101418.37966-4-phucduc.bui@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mxs/mxs-sgtl5000.c

index f1c0e612313dd16c13b78039f5369a26d13d2876..a253a48ca59c9739888c033d726dd829fc387ad8 100644 (file)
@@ -155,8 +155,6 @@ static int mxs_sgtl5000_probe(struct platform_device *pdev)
 
                ret = snd_soc_of_parse_audio_routing(card, "audio-routing");
                if (ret) {
-                       dev_err(&pdev->dev, "failed to parse audio-routing (%d)\n",
-                               ret);
                        mxs_saif_put_mclk(0);
                        return ret;
                }