Re: mfd: cros_ec: Check for mkbp events on resume only if supported.

2018-09-10 Thread Lee Jones
On Mon, 20 Aug 2018, RaviChandra Sadineni wrote: > Currently on every resume we check for mkbp events and notify the > clients. This helps in identifying the wakeup sources. But on devices > that do not support mkbp protocol, we might end up querying key state of > the keyboard in a loop which blo

Re: mfd: cros_ec: Check for mkbp events on resume only if supported.

2018-08-21 Thread Marek Szyprowski
Hi Ravi, On 2018-08-20 17:34, RaviChandra Sadineni wrote: > Currently on every resume we check for mkbp events and notify the > clients. This helps in identifying the wakeup sources. But on devices > that do not support mkbp protocol, we might end up querying key state of > the keyboard in a loop

mfd: cros_ec: Check for mkbp events on resume only if supported.

2018-08-20 Thread RaviChandra Sadineni
Currently on every resume we check for mkbp events and notify the clients. This helps in identifying the wakeup sources. But on devices that do not support mkbp protocol, we might end up querying key state of the keyboard in a loop which blocks the resume. Instead check for events only if mkbp is s