mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
ASoC: amd: acp: return irq error directly
platform_get_irq() returns multiple error codes. Return the irq directly instead of just -ENODEV. Signed-off-by: Rosen Penev <rosenp@gmail.com> Reviewed-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com> Link: https://patch.msgid.link/20260807012408.55272-1-rosenp@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
0aec3e83e3
commit
e04cf4dd5f
|
|
@ -1291,7 +1291,7 @@ static int acp_audio_probe(struct platform_device *pdev)
|
|||
|
||||
irq = platform_get_irq(pdev, 0);
|
||||
if (irq < 0)
|
||||
return -ENODEV;
|
||||
return irq;
|
||||
|
||||
status = devm_request_irq(&pdev->dev, irq, dma_irq_handler,
|
||||
0, "ACP_IRQ", &pdev->dev);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user