mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 22:14:03 +02:00
ASoC: rockchip: rockchip_max98090: Drop redundant probe error messages
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-9-phucduc.bui@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
9fea4805ed
commit
de983524dc
|
|
@ -428,11 +428,8 @@ static int snd_rk_mc_probe(struct platform_device *pdev)
|
|||
|
||||
/* Parse card name. */
|
||||
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)
|
||||
return ret;
|
||||
}
|
||||
|
||||
/* register the soc card */
|
||||
ret = devm_snd_soc_register_card(&pdev->dev, card);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user