Message ID | 20200522221855.7891-1-wu000273@umn.edu |
---|---|
State | New |
Headers | show |
Series | media: s3c-camif: fix missing disable in tegra_adma_probe(). | expand |
diff --git a/drivers/media/platform/s3c-camif/camif-core.c b/drivers/media/platform/s3c-camif/camif-core.c index c6fbcd7036d6..12ee49638f44 100644 --- a/drivers/media/platform/s3c-camif/camif-core.c +++ b/drivers/media/platform/s3c-camif/camif-core.c @@ -500,8 +500,8 @@ static int s3c_camif_probe(struct platform_device *pdev) camif_unregister_media_entities(camif); err_alloc: pm_runtime_put(dev); - pm_runtime_disable(dev); err_pm: + pm_runtime_disable(dev); camif_clk_put(camif); err_clk: s3c_camif_unregister_subdev(camif);