Commit 68fb2e49 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Paul Mundt

uio: pm_runtime_disable is needed if failed

Signed-off-by: default avatarKuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 156171c7
...@@ -178,6 +178,7 @@ static int uio_pdrv_genirq_probe(struct platform_device *pdev) ...@@ -178,6 +178,7 @@ static int uio_pdrv_genirq_probe(struct platform_device *pdev)
return 0; return 0;
bad1: bad1:
kfree(priv); kfree(priv);
pm_runtime_disable(&pdev->dev);
bad0: bad0:
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment