diff options
author | Kuninori Morimoto <morimoto.kuninori@renesas.com> | 2009-11-09 02:42:47 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-11-13 11:36:00 +0900 |
commit | 68fb2e499b054bf8359965422fffac70eff56004 (patch) | |
tree | 78c17121586c64799c2740ee78bdfbbf0cf0bce9 /drivers/uio | |
parent | 156171c71a0dc4bce12b4408bb1591f8fe32dc1a (diff) | |
download | talos-op-linux-68fb2e499b054bf8359965422fffac70eff56004.tar.gz talos-op-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/uio')
-rw-r--r-- | drivers/uio/uio_pdrv_genirq.c | 1 |
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; } |