[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACeCKadOcKsmpvdtYf5QhUxcMA82angLzZBHx2yZ9QHJPv=bsw@mail.gmail.com>
Date: Tue, 13 Sep 2022 10:17:37 -0700
From: Prashant Malani <pmalani@...omium.org>
To: Jameson Thies <jthies@...gle.com>
Cc: chrome-platform@...ts.linux.dev, linux-kernel@...r.kernel.org,
bleung@...omium.org, groeck@...omium.org, tzungbi@...nel.org
Subject: Re: [PATCH v3] platform/chrome: cros_ec: Notify the PM of wake events
during resume
HI Jameson,
On Tue, Sep 13, 2022 at 7:55 AM Jameson Thies <jthies@...gle.com> wrote:
>
> cros_ec_handle_event in the cros_ec driver can notify the PM of wake
> events. When a device is suspended, cros_ec_handle_event will not check
> MKBP events. Instead, received MKBP events are checked during resume by
> cros_ec_report_events_during_suspend. But
> cros_ec_report_events_during_suspend cannot notify the PM if received
> events are wake events, causing wake events to not be reported if
> received while the device is suspended.
>
> Update cros_ec_report_events_during_suspend to notify the PM of wake
> events during resume by calling pm_wakeup_event.
>
> Signed-off-by: Jameson Thies <jthies@...gle.com>
Although I've already provided the tag, here it is again:
Reviewed-by: Prashant Malani <pmalani@...omium.org>
Powered by blists - more mailing lists