summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-11-18 16:38:19 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-11-18 16:38:19 +0100
commit5cbb0601bfddfc55d6ea409651313c13e3d6e90a (patch)
treebf1216e41d30f1c2d8eea631945ef8efeb74ad56 /drivers
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6 (diff)
parentsh: Fixup last users of irq_chip->typename (diff)
downloadlinux-5cbb0601bfddfc55d6ea409651313c13e3d6e90a.tar.xz
linux-5cbb0601bfddfc55d6ea409651313c13e3d6e90a.zip
Merge branch 'sh/for-2.6.32' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6
* 'sh/for-2.6.32' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: sh: Fixup last users of irq_chip->typename uio: pm_runtime_disable is needed if failed
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;
}