lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 7 Sep 2007 11:11:45 -0400
From:	"Dmitry Torokhov" <dmitry.torokhov@...il.com>
To:	"Anti Sullin" <anti.sullin@...ecdesign.ee>
Cc:	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Add suspend and resume to gpio_keys driver

Hi Anti,

On 9/6/07, Anti Sullin <anti.sullin@...ecdesign.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
-
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ