linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] uio: pm_runtime_disable is needed if failed
@ 2009-11-09  2:42 Kuninori Morimoto
  2009-11-09  3:03 ` Magnus Damm
  2009-11-09  5:17 ` Paul Mundt
  0 siblings, 2 replies; 3+ messages in thread
From: Kuninori Morimoto @ 2009-11-09  2:42 UTC (permalink / raw)
  To: linux-sh


Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
---
>> Magnus

Please check this patch.
I think pm_runtime_disable is needed here.

 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;
 }
-- 
1.6.3.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-11-09  5:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-09  2:42 [PATCH] uio: pm_runtime_disable is needed if failed Kuninori Morimoto
2009-11-09  3:03 ` Magnus Damm
2009-11-09  5:17 ` Paul Mundt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).