summaryrefslogtreecommitdiff
path: root/drivers/media/platform/nxp/dw100/dw100.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/platform/nxp/dw100/dw100.c')
-rw-r--r--drivers/media/platform/nxp/dw100/dw100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/nxp/dw100/dw100.c b/drivers/media/platform/nxp/dw100/dw100.c
index f6d48c36f386..189d60cd5ed1 100644
--- a/drivers/media/platform/nxp/dw100/dw100.c
+++ b/drivers/media/platform/nxp/dw100/dw100.c
@@ -1571,7 +1571,7 @@ static int dw100_probe(struct platform_device *pdev)
dev_name(&pdev->dev), dw_dev);
if (ret < 0) {
dev_err(&pdev->dev, "Failed to request irq: %d\n", ret);
- return ret;
+ goto err_pm;
}
ret = v4l2_device_register(&pdev->dev, &dw_dev->v4l2_dev);