[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080112235211.GA12105@zarina>
Date: Sun, 13 Jan 2008 02:52:11 +0300
From: Anton Vorontsov <cbouatmailru@...il.com>
To: Dmitry Baryshkov <dbaryshkov@...il.com>
Cc: linux-kernel@...r.kernel.org, cbou@...l.ru, dwmw2@...radead.org
Subject: Re: [PATCH] pda_power: add device_init_wakeup
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@...il.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@...l.ru
backup email: ya-cbou@...dex.ru
irc://irc.freenode.net/bd2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists