mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
iommu/ipmmu-vmsa: Return proper error if devm_request_irq fails
Signed-off-by: Axel Lin <[email protected]> Acked-by: Laurent Pinchart <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
This commit is contained in:
parent
0df1f2487d
commit
e222d6a425
1 changed files with 1 additions and 1 deletions
|
|
@ -1184,7 +1184,7 @@ static int ipmmu_probe(struct platform_device *pdev)
|
|||
dev_name(&pdev->dev), mmu);
|
||||
if (ret < 0) {
|
||||
dev_err(&pdev->dev, "failed to request IRQ %d\n", irq);
|
||||
return irq;
|
||||
return ret;
|
||||
}
|
||||
|
||||
ipmmu_device_reset(mmu);
|
||||
|
|
|
|||
Loading…
Reference in a new issue