Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 62c58f8d authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Herbert Xu
Browse files

crypto: omap-aes - fix error return code in omap_aes_probe()



Propagate the return value of platform_get_irq on failure.

Signed-off-by: default avatarGustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 353ef083
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1095,6 +1095,7 @@ static int omap_aes_probe(struct platform_device *pdev)
		irq = platform_get_irq(pdev, 0);
		if (irq < 0) {
			dev_err(dev, "can't get IRQ resource\n");
			err = irq;
			goto err_irq;
		}