]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
uio: pm_runtime_disable is needed if failed
authorKuninori Morimoto <morimoto.kuninori@renesas.com>
Mon, 9 Nov 2009 02:42:47 +0000 (02:42 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 13 Nov 2009 02:36:00 +0000 (11:36 +0900)
Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/uio/uio_pdrv_genirq.c

index 02347c57357d20511e3e0e25f34572ab053078c0..aa53db9f2e88309d739809adf10928fd0a6d1a57 100644 (file)
@@ -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;
 }