From: "Dmitry Torokhov" <dmitry.torokhov@gmail.com>
To: "Anti Sullin" <anti.sullin@artecdesign.ee>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Add suspend and resume to gpio_keys driver
Date: Fri, 7 Sep 2007 11:11:45 -0400 [thread overview]
Message-ID: <d120d5000709070811g3c129e40q8fe16fd29c213c8a@mail.gmail.com> (raw)
In-Reply-To: <46E01EF7.7010605@artecdesign.ee>
Hi Anti,
On 9/6/07, Anti Sullin <anti.sullin@artecdesign.ee> wrote:
> diff -pur linux-2.6.23-rc5-old/drivers/input/keyboard/gpio_keys.c linux-2.6.23-rc5/drivers/input/keyboard/gpio_keys.c
> --- linux-2.6.23-rc5-old/drivers/input/keyboard/gpio_keys.c 2007-09-06 18:24:23.000000000 +0300
> +++ linux-2.6.23-rc5/drivers/input/keyboard/gpio_keys.c 2007-09-06 18:23:37.000000000 +0300
> @@ -59,6 +59,7 @@ static int __devinit gpio_keys_probe(str
> if (!input)
> return -ENOMEM;
>
> + device_init_wakeup(&pdev->dev, 1);
> platform_set_drvdata(pdev, input);
I would expect platform code to mark devices as wakeup-able, wouldn't you agree?
--
Dmitry
prev parent reply other threads:[~2007-09-07 15:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-06 15:38 Anti Sullin
2007-09-07 15:11 ` Dmitry Torokhov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d120d5000709070811g3c129e40q8fe16fd29c213c8a@mail.gmail.com \
--to=dmitry.torokhov@gmail.com \
--cc=anti.sullin@artecdesign.ee \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®