Re: [BUG] cros_ec_debugfs causes a WARNING trace during suspend on ASUS C201

2019-03-19 Thread Benson Leung
Hi Guenter, Urja, On Tue, Mar 19, 2019 at 06:37:08AM -0700, Guenter Roeck wrote: > Hi, > > On Tue, Mar 19, 2019 at 3:37 AM Urja Rannikko 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

Re: [BUG] cros_ec_debugfs causes a WARNING trace during suspend on ASUS C201

2019-03-19 Thread Guenter Roeck
Hi, On Tue, Mar 19, 2019 at 3:37 AM Urja Rannikko 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

[BUG] cros_ec_debugfs causes a WARNING trace during suspend on ASUS C201

2019-03-19 Thread Urja Rannikko
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