Message ID | E1nDOHY-00Bwyw-7W@www.linuxtv.org |
---|---|
State | Accepted |
Commit | 4a321de239213300a714fa0353a5f1272d381a44 |
Headers | show |
Series | [git:media_tree/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; }