summaryrefslogtreecommitdiffstats
path: root/crypto/md4.c
diff options
context:
space:
mode:
authorDoug Anderson <dianders@chromium.org>2014-04-30 10:44:06 -0700
committerLee Jones <lee.jones@linaro.org>2014-06-03 08:11:47 +0100
commitc9a81d67ce4c9cd9b73f8ec6dba827882555d47e (patch)
tree743426964b110e65372e848ce4cad51e4183c5b1 /crypto/md4.c
parent362196e5d0832ce3c4e1df376c02cff812a2391b (diff)
downloadop-kernel-dev-c9a81d67ce4c9cd9b73f8ec6dba827882555d47e.zip
op-kernel-dev-c9a81d67ce4c9cd9b73f8ec6dba827882555d47e.tar.gz
mfd: cros_ec: spi: Make the cros_ec_spi timeout more reliable
The cros_ec_spi transfer had two problems with its timeout code: 1. It looked at the timeout even in the case that it found valid data. 2. If the cros_ec_spi code got switched out for a while, it's possible it could get a timeout after a single loop. Let's be paranoid and make sure we do one last transfer after the timeout expires. Signed-off-by: Doug Anderson <dianders@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Andrew Bresticker <abrestic@chromium.org> Tested-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'crypto/md4.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud