mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 22:14:03 +02:00
ASoC: sprd: sprd-mcdt: 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> Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com> Link: https://patch.msgid.link/20260729073532.56468-1-phucduc.bui@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
772e340996
commit
4f08e2b888
|
|
@ -931,10 +931,8 @@ static int sprd_mcdt_probe(struct platform_device *pdev)
|
|||
|
||||
ret = devm_request_irq(&pdev->dev, irq, sprd_mcdt_irq_handler,
|
||||
0, "sprd-mcdt", mcdt);
|
||||
if (ret) {
|
||||
dev_err(&pdev->dev, "Failed to request MCDT IRQ\n");
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
|
||||
sprd_mcdt_init_chans(mcdt, res);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user