linux/drivers/platform/chrome
Gwendal Grignou d4da97e59e cros_ec: Fix deadlock when EC is not responsive at probe
When the EC is not responsive at probe, we try to get basic information
(protocol to use) later on through cros_xfer_cmd() call.
This patch makes sure there is no deadlock when re-probing the EC by
replacing call to cros_xfer_cmd() with send_command() in the function
cros_ec_get_host_command_version_mask(). Also, this patch adds the
function header indicating it must be called protected.

Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Signed-off-by: Thierry Escande <thierry.escande@collabora.com>
Signed-off-by: Benson Leung <bleung@chromium.org>
2017-06-27 08:22:39 -07:00
..
chromeos_laptop.c Revert "platform/chrome: chromeos_laptop: Add Leon Touch" 2016-05-28 08:47:48 -07:00
chromeos_pstore.c platform/chrome: pstore: Move to larger record size. 2016-05-11 11:55:47 -07:00
cros_ec_debugfs.c mfd: cros_ec: Add support for dumping panic information 2017-06-16 13:57:45 -07:00
cros_ec_debugfs.h mfd: cros_ec: add debugfs, console log file 2017-06-16 13:57:45 -07:00
cros_ec_dev.c platform/chrome: cros_ec_lightbar - Avoid I2C xfer to EC during suspend 2017-06-23 16:12:19 -07:00
cros_ec_dev.h platform/chrome: cros_ec_lightbar - Control of suspend/resume lightbar sequence 2017-06-23 16:12:18 -07:00
cros_ec_lightbar.c platform/chrome: cros_ec_lightbar - Avoid I2C xfer to EC during suspend 2017-06-23 16:12:19 -07:00
cros_ec_lpc_mec.c platform/chrome: cros_ec_lpc: Add support for mec1322 EC 2017-06-23 16:12:01 -07:00
cros_ec_lpc_reg.c platform/chrome: cros_ec_lpc: Add support for mec1322 EC 2017-06-23 16:12:01 -07:00
cros_ec_lpc.c platform/chrome: cros_ec_lpc: Add MKBP events support over ACPI 2017-06-23 16:12:17 -07:00
cros_ec_proto.c cros_ec: Fix deadlock when EC is not responsive at probe 2017-06-27 08:22:39 -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: cros_ec_lpc: Add support for GOOG004 ACPI device 2017-06-23 16:12:15 -07:00
Makefile platform/chrome: cros_ec_lpc: Add support for mec1322 EC 2017-06-23 16:12:01 -07:00