diff options
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/s5p-fimc/fimc-core.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/video/s5p-fimc/fimc-core.c b/drivers/media/video/s5p-fimc/fimc-core.c index 1beb2263d18c..8cd1ef073926 100644 --- a/drivers/media/video/s5p-fimc/fimc-core.c +++ b/drivers/media/video/s5p-fimc/fimc-core.c | |||
@@ -1415,8 +1415,10 @@ static int fimc_probe(struct platform_device *pdev) | |||
1415 | } | 1415 | } |
1416 | 1416 | ||
1417 | fimc->work_queue = create_workqueue(dev_name(&fimc->pdev->dev)); | 1417 | fimc->work_queue = create_workqueue(dev_name(&fimc->pdev->dev)); |
1418 | if (!fimc->work_queue) | 1418 | if (!fimc->work_queue) { |
1419 | ret = -ENOMEM; | ||
1419 | goto err_irq; | 1420 | goto err_irq; |
1421 | } | ||
1420 | 1422 | ||
1421 | ret = fimc_register_m2m_device(fimc); | 1423 | ret = fimc_register_m2m_device(fimc); |
1422 | if (ret) | 1424 | if (ret) |