Message ID | E1nBjLY-004u6Z-1E@www.linuxtv.org |
---|---|
State | Superseded |
Headers | show |
Series | [git:media_stage/master] media: davinci: vpif: fix unbalanced runtime PM get | expand |
diff --git a/drivers/media/platform/davinci/vpif.c b/drivers/media/platform/davinci/vpif.c index 5a89d885d0e3..9752a5ec36f7 100644 --- a/drivers/media/platform/davinci/vpif.c +++ b/drivers/media/platform/davinci/vpif.c @@ -495,6 +495,7 @@ static int vpif_probe(struct platform_device *pdev) static int vpif_remove(struct platform_device *pdev) { + pm_runtime_put(&pdev->dev); pm_runtime_disable(&pdev->dev); return 0; }