Skip to content

Commit 1ee6602

Browse files
author
Fox Snowpatch
committed
1 parent bcf2bbe commit 1ee6602

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

drivers/soc/fsl/qe/qmc.c

+3-1
Original file line numberDiff line numberDiff line change
@@ -2004,8 +2004,10 @@ static int qmc_probe(struct platform_device *pdev)
20042004

20052005
/* Set the irq handler */
20062006
irq = platform_get_irq(pdev, 0);
2007-
if (irq < 0)
2007+
if (irq < 0) {
2008+
ret = -EINVAL;
20082009
goto err_exit_xcc;
2010+
}
20092011
ret = devm_request_irq(qmc->dev, irq, qmc_irq_handler, 0, "qmc", qmc);
20102012
if (ret < 0)
20112013
goto err_exit_xcc;

0 commit comments

Comments
 (0)