All of lore.kernel.org
 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

* Re: [PATCH] uio: pm_runtime_disable is needed if failed
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Magnus Damm @ 2009-11-09  3:03 UTC (permalink / raw)
  To: linux-sh

On Mon, Nov 9, 2009 at 11:42 AM, Kuninori Morimoto
<morimoto.kuninori@renesas.com> wrote:
>
> Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
> ---
>>> Magnus
>
> Please check this patch.
> I think pm_runtime_disable is needed here.

Looks correct!

/ magnus

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

* Re: [PATCH] uio: pm_runtime_disable is needed if failed
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Paul Mundt @ 2009-11-09  5:17 UTC (permalink / raw)
  To: linux-sh

On Mon, Nov 09, 2009 at 11:42:47AM +0900, Kuninori Morimoto wrote:
> 
> 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(-)
> 
Unfortunately this missed my pull request by about an hour, so I'll queue
it up once Linus pulls the already pending stuff. I'll merge this for
2.6.32-rc8.

^ permalink raw reply	[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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.