platform/chrome: cros_ec_lightbar - Add userspace lightbar control bit to EC
authorEric Caruso <ejcaruso@chromium.org>
Tue, 16 May 2017 15:46:48 +0000 (17:46 +0200)
committerBenson Leung <bleung@chromium.org>
Fri, 23 Jun 2017 23:12:19 +0000 (16:12 -0700)
commitabbb054d53266bfbd45ca9f2ba6522e3fd5b7f86
tree000639f160202c08c3b585807c085811f0b12312
parent405c84308c4335ee7cb58b9304b77b85e61f7129
platform/chrome: cros_ec_lightbar - Add userspace lightbar control bit to EC

Some devices might want to turn off the lightbar if e.g. the
system turns the screen off due to idleness. This prevents the
kernel from going through its normal suspend/resume pathways.

Signed-off-by: Eric Caruso <ejcaruso@chromium.org>
Signed-off-by: Guenter Roeck <groeck@chromium.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Benson Leung <bleung@chromium.org>
drivers/platform/chrome/cros_ec_lightbar.c