iommu/ipmmu-vmsa: Return proper error if devm_request_irq fails
Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
This commit is contained in:
parent
0df1f2487d
commit
e222d6a425
@ -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 New Issue
Block a user