linux_dsm_epyc7002/drivers/platform/chrome
Shawn Nematbakhsh d48b8c58c5
platform/chrome: Use proper protocol transfer function
pkt_xfer should be used for protocol v3, and cmd_xfer otherwise. We had
one instance of these functions correct, but not the second, fall-back
case. We use the fall-back only when the first command returns an
IN_PROGRESS status, which is only used on some EC firmwares where we
don't want to constantly poll the bus, but instead back off and
sleep/retry for a little while.

Fixes: 2c7589af3c ("mfd: cros_ec: add proto v3 skeleton")
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Signed-off-by: Brian Norris <briannorris@chromium.org>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Benson Leung <bleung@chromium.org>
2017-12-17 14:04:21 -08:00
..
chromeos_laptop.c platform/chrome: chromeos_laptop: make chromeos_laptop const 2017-12-15 20:56:31 -08:00
chromeos_pstore.c dmi: Mark all struct dmi_system_id instances const 2017-09-14 11:59:30 +02:00
cros_ec_debugfs.c cros_ec: Move cros_ec_dev module to drivers/mfd 2017-12-15 10:46:06 +00:00
cros_ec_lightbar.c cros_ec: Move cros_ec_dev module to drivers/mfd 2017-12-15 10:46:06 +00: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 support for Google Glimmer 2017-12-17 14:04:21 -08:00
cros_ec_proto.c platform/chrome: Use proper protocol transfer function 2017-12-17 14:04:21 -08:00
cros_ec_sysfs.c cros_ec: fix nul-termination for firmware build info 2017-12-15 21:07:17 -08:00
cros_ec_vbc.c cros_ec: Split cros_ec_devs module 2017-12-15 10:45:11 +00:00
cros_kbd_led_backlight.c platform/chrome: Add Chrome OS keyboard backlight LEDs support 2016-05-11 11:55:47 -07:00
Kconfig cros_ec: Move cros_ec_dev module to drivers/mfd 2017-12-15 10:46:06 +00:00
Makefile cros_ec: Move cros_ec_dev module to drivers/mfd 2017-12-15 10:46:06 +00:00