diff options
author | Kuninori Morimoto <morimoto.kuninori@renesas.com> | 2009-11-09 02:42:47 (GMT) |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-11-13 02:36:00 (GMT) |
commit | 68fb2e499b054bf8359965422fffac70eff56004 (patch) | |
tree | 78c17121586c64799c2740ee78bdfbbf0cf0bce9 /drivers | |
parent | 156171c71a0dc4bce12b4408bb1591f8fe32dc1a (diff) | |
download | linux-fsl-qoriq-68fb2e499b054bf8359965422fffac70eff56004.tar.xz |
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.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 02347c5..aa53db9 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; } |