Re: [BUG] cros_ec_debugfs causes a WARNING trace during suspend on ASUS C201
From: Guenter Roeck
Date: Tue Mar 19 2019 - 09:37:23 EST
Hi,
On Tue, Mar 19, 2019 at 3:37 AM Urja Rannikko <urjaman@xxxxxxxxx> wrote:
>
> Hi,
>
> I was testing 5.1-rc1 on my C201 when i found this, dmesg of a
> suspend/resume attached.
>
> Based on a quick look at the code it looks like the reason is that the
> suspend and resume calls try to cancel/schedule log_poll_work
> unconditionally but this device doesnt support reading the console log
> so the delayed work struct was never initialized.
>
Thanks a lot for the note. I'll send a fix later today.
Guenter
>
> --
> Urja Rannikko