ASoC: sophgo: Drop redundant error messages

The called functions already log failures where appropriate. Return the
original error directly and avoid duplicate error messages.

Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Link: https://patch.msgid.link/20260803061605.35485-1-phucduc.bui@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
bui duc phuc 2026-08-03 13:16:04 +07:00 committed by Mark Brown
parent c185ef7749
commit 85665ff342
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -677,10 +677,8 @@ static int cv1800b_i2s_probe(struct platform_device *pdev)
return ret;
ret = devm_snd_dmaengine_pcm_register(dev, &cv1800b_i2s_pcm_config, 0);
if (ret) {
dev_err(dev, "dmaengine_pcm_register failed: %d\n", ret);
if (ret)
return ret;
}
return 0;
}