diff options
author | Kuninori Morimoto <morimoto.kuninori@renesas.com> | 2009-11-08 21:42:47 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-11-12 21:36:00 -0500 |
commit | 68fb2e499b054bf8359965422fffac70eff56004 (patch) | |
tree | 78c17121586c64799c2740ee78bdfbbf0cf0bce9 | |
parent | 156171c71a0dc4bce12b4408bb1591f8fe32dc1a (diff) |
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>
-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) | |||
178 | return 0; | 178 | return 0; |
179 | bad1: | 179 | bad1: |
180 | kfree(priv); | 180 | kfree(priv); |
181 | pm_runtime_disable(&pdev->dev); | ||
181 | bad0: | 182 | bad0: |
182 | return ret; | 183 | return ret; |
183 | } | 184 | } |