summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2017-02-14 20:58:01 +0100
committerBenson Leung <bleung@chromium.org>2017-06-27 08:22:39 -0700
commitd4da97e59e1004aa1a15dd75469def20cd84ab99 (patch)
tree7aac14a0e6eb45f8d0db5e65db435d80e6483929 /drivers/mfd
parenta27b8f31cb7929bfb8dc6ca3e6b7a0a39609d7f3 (diff)
downloadop-kernel-dev-d4da97e59e1004aa1a15dd75469def20cd84ab99.zip
op-kernel-dev-d4da97e59e1004aa1a15dd75469def20cd84ab99.tar.gz
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>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud