summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorKuninori Morimoto <morimoto.kuninori@renesas.com>2009-11-09 03:42:47 +0100
committerPaul Mundt <lethal@linux-sh.org>2009-11-13 03:36:00 +0100
commit68fb2e499b054bf8359965422fffac70eff56004 (patch)
tree78c17121586c64799c2740ee78bdfbbf0cf0bce9 /drivers
parentLinux 2.6.32-rc7 (diff)
downloadlinux-68fb2e499b054bf8359965422fffac70eff56004.tar.xz
linux-68fb2e499b054bf8359965422fffac70eff56004.zip
uio: pm_runtime_disable is needed if failed
Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/uio/uio_pdrv_genirq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/uio/uio_pdrv_genirq.c b/drivers/uio/uio_pdrv_genirq.c
index 02347c57357d..aa53db9f2e88 100644
--- a/drivers/uio/uio_pdrv_genirq.c
+++ b/drivers/uio/uio_pdrv_genirq.c
@@ -178,6 +178,7 @@ static int uio_pdrv_genirq_probe(struct platform_device *pdev)
return 0;
bad1:
kfree(priv);
+ pm_runtime_disable(&pdev->dev);
bad0:
return ret;
}