Skip to content
Commit 61cc15da authored by RaviChandra Sadineni's avatar RaviChandra Sadineni Committed by Lee Jones
Browse files

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



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 supported.

Signed-off-by: default avatarRaviChandra Sadineni <ravisadineni@chromium.org>
Reported-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
Tested-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 4ded11d1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment