Hello Kalie,

On Mon, Oct 3, 2016 at 6:04 AM, Kalle Valo <kv...@codeaurora.org> wrote:
> Rajat Jain <raja...@google.com> wrote:
>> Enable notifying wakeup source to the PM core in case of
>> a wake on wireless LAN event.
>>
>> Signed-off-by: Wei-Ning Huang <wnhu...@google.com>
>> Signed-off-by: Rajat Jain <raja...@google.com>
>> Tested-by: Wei-Ning Huang <wnhu...@chromium.org>
>> Reviewed-by: Eric Caruso <ejcar...@chromium.org>
>> Acked-by: Amitkumar Karwar <akar...@marvell.com>
>
> The commit log doesn't give any background info. Does this fix a bug or
> why is it needed?

Some of chromeos' features (called "darkresume" in chromeos
terminology) use and track the wake up sources using the wakeup
attributes in sysfs. Since the wireless device can wake up the host,
hence we wanted to add it as a wakeup source to the system, and in the
case of an actual wakeup event, trigger to the PM core that it was
indeed caused by the device and it increments the different counters
etc. In the absence of this patch,  the feature wasn't working very
well (as it was apparently confused about the cause of wake up).

Thanks,

Rajat

Reply via email to