LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] pda_power: add device_init_wakeup
@ 2008-01-09 16:39 Dmitry Baryshkov
2008-01-12 22:50 ` Dmitry Baryshkov
0 siblings, 1 reply; 4+ messages in thread
From: Dmitry Baryshkov @ 2008-01-09 16:39 UTC (permalink / raw)
To: cbouatmailru, linux-kernel, cbou, dwmw2
Add device_init_wakeup to init wakeup.
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
diff --git a/drivers/power/pda_power.c b/drivers/power/pda_power.c
index d98622f..28360e8 100644
--- a/drivers/power/pda_power.c
+++ b/drivers/power/pda_power.c
@@ -207,6 +207,8 @@ static int pda_power_probe(struct platform_device *pdev)
}
}
+ device_init_wakeup(&pdev->dev, 1);
+
return 0;
usb_irq_failed:
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] pda_power: add device_init_wakeup
2008-01-09 16:39 [PATCH] pda_power: add device_init_wakeup Dmitry Baryshkov
@ 2008-01-12 22:50 ` Dmitry Baryshkov
2008-01-12 23:52 ` Anton Vorontsov
0 siblings, 1 reply; 4+ messages in thread
From: Dmitry Baryshkov @ 2008-01-12 22:50 UTC (permalink / raw)
To: cbouatmailru, linux-kernel, cbou, dwmw2
Hi,
Please apply this patch. Otherwise pda_power can't generate wakeup
events. I forgot this in the initial pda_power suspend/resume patch.
Add device_init_wakeup to init wakeup.
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
diff --git a/drivers/power/pda_power.c b/drivers/power/pda_power.c
index d98622f..28360e8 100644
--- a/drivers/power/pda_power.c
+++ b/drivers/power/pda_power.c
@@ -207,6 +207,8 @@ static int pda_power_probe(struct platform_device *pdev)
}
}
+ device_init_wakeup(&pdev->dev, 1);
+
return 0;
usb_irq_failed:
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] pda_power: add device_init_wakeup
2008-01-12 22:50 ` Dmitry Baryshkov
@ 2008-01-12 23:52 ` Anton Vorontsov
2008-01-13 0:14 ` Dmitry
0 siblings, 1 reply; 4+ messages in thread
From: Anton Vorontsov @ 2008-01-12 23:52 UTC (permalink / raw)
To: Dmitry Baryshkov; +Cc: linux-kernel, cbou, dwmw2
On Sun, Jan 13, 2008 at 01:50:16AM +0300, Dmitry Baryshkov wrote:
> Hi,
>
> Please apply this patch. Otherwise pda_power can't generate wakeup
> events. I forgot this in the initial pda_power suspend/resume patch.
>
> Add device_init_wakeup to init wakeup.
Thanks, folded into "pda_power: add suspend/resume support" patch.
FYI, I got it first time, just didn't have time to process. ;-)
> Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
>
> diff --git a/drivers/power/pda_power.c b/drivers/power/pda_power.c
> index d98622f..28360e8 100644
> --- a/drivers/power/pda_power.c
> +++ b/drivers/power/pda_power.c
> @@ -207,6 +207,8 @@ static int pda_power_probe(struct platform_device *pdev)
> }
> }
>
> + device_init_wakeup(&pdev->dev, 1);
> +
> return 0;
>
> usb_irq_failed:
--
Anton Vorontsov
email: cbou@mail.ru
backup email: ya-cbou@yandex.ru
irc://irc.freenode.net/bd2
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] pda_power: add device_init_wakeup
2008-01-12 23:52 ` Anton Vorontsov
@ 2008-01-13 0:14 ` Dmitry
0 siblings, 0 replies; 4+ messages in thread
From: Dmitry @ 2008-01-13 0:14 UTC (permalink / raw)
To: cbouatmailru; +Cc: linux-kernel, cbou, dwmw2
Hi,
2008/1/13, Anton Vorontsov <cbouatmailru@gmail.com>:
> On Sun, Jan 13, 2008 at 01:50:16AM +0300, Dmitry Baryshkov wrote:
> > Hi,
> >
> > Please apply this patch. Otherwise pda_power can't generate wakeup
> > events. I forgot this in the initial pda_power suspend/resume patch.
> >
> > Add device_init_wakeup to init wakeup.
>
> Thanks, folded into "pda_power: add suspend/resume support" patch.
>
> FYI, I got it first time, just didn't have time to process. ;-)
Thank you :) Sorry for pinging you too fast.
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-01-13 0:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-09 16:39 [PATCH] pda_power: add device_init_wakeup Dmitry Baryshkov
2008-01-12 22:50 ` Dmitry Baryshkov
2008-01-12 23:52 ` Anton Vorontsov
2008-01-13 0:14 ` Dmitry
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).