linux-stable/drivers/platform/chrome
Clinton Sprain d940f3065c platform/chrome: cros_ec_lightbar - use name instead of ID to hide lightbar attributes
Lightbar attributes are hidden if the ID of the device is not 0 (the
assumption being that 0 = cros_ec = might have a lightbar, 1 = cros_pd =
hide); however, sometimes these devices get IDs 1 and 2 (or something
else) instead of IDs 0 and 1. This prevents the lightbar attributes from
appearing when they should.

Proposed change is to instead check whether the name assigned to the
device is CROS_EC_DEV_NAME (true for cros_ec, false for cros_pd).

Signed-off-by: Clinton Sprain <clintonsprain@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
2016-05-11 11:55:47 -07:00
..
chromeos_laptop.c platform/chrome: chromeos_laptop: Add Leon Touch 2016-05-11 11:55:46 -07:00
chromeos_pstore.c platform/chrome: pstore: Move to larger record size. 2016-05-11 11:55:47 -07:00
cros_ec_dev.c platform/chrome: cros_ec_dev - Fix security issue 2016-05-11 11:55:47 -07:00
cros_ec_dev.h mfd: cros_ec: Support multiple EC in a system 2015-06-15 13:18:23 +01:00
cros_ec_lightbar.c platform/chrome: cros_ec_lightbar - use name instead of ID to hide lightbar attributes 2016-05-11 11:55:47 -07:00
cros_ec_lpc.c platform/chrome: cros_ec_lpc - Add support for Google Pixel 2 2015-10-07 14:34:26 -07:00
cros_ec_proto.c platform/chrome: cros_ec_dev - Fix security issue 2016-05-11 11:55:47 -07:00
cros_ec_sysfs.c mfd: cros_ec: Support multiple EC in a system 2015-06-15 13:18:23 +01:00
cros_ec_vbc.c platform/chrome: Support reading/writing the vboot context 2015-10-07 15:05:53 -07:00
cros_kbd_led_backlight.c platform/chrome: Add Chrome OS keyboard backlight LEDs support 2016-05-11 11:55:47 -07:00
Kconfig platform/chrome: Add Chrome OS keyboard backlight LEDs support 2016-05-11 11:55:47 -07:00
Makefile platform/chrome: Add Chrome OS keyboard backlight LEDs support 2016-05-11 11:55:47 -07:00