Thread (4 messages) 4 messages, 2 authors, 2009-03-10

Re: [PATCH] input: add suspend wakeup support to sh_keysc

From: Trilok Soni <hidden>
Date: 2009-03-10 10:43:30
Also in: linux-sh

Hi Magnus,
quoted
Please add device_init_wakeup(&pdev->dev, 0) in sh_keysc_remove.
Isn't this just flagging the device as wakeup capable? My first guess
would be that the the wakeup state of a removed device is irrelevant
since it won't be suspended anyway. Or am I misunderstanding? Please
explain in more detail.
I may not have complete answer, but I am thinking of someone depending/reading
on wakeup file state to determine the state of your device in userspace will get
confused, so better to disable to wakeup capability on remove.

-- 
---Trilok Soni
http://triloksoni.wordpress.com
http://www.linkedin.com/in/triloksoni
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help