diff options
| author | Doug Anderson <[email protected]> | 2017-03-01 12:58:32 +0100 |
|---|---|---|
| committer | Lee Jones <[email protected]> | 2017-04-27 09:25:04 +0100 |
| commit | ca691f7118087a652e4d6c83a30f5ed6d5acbf14 (patch) | |
| tree | 59599bc8510486259975f08336f0737eecae5e83 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
| parent | d5aa11bfe9cebb4a3912b11748fd84aa15454229 (diff) | |
mfd: cros ec: spi: Increase wait time to 200ms
This is a sucky change to bump up the time we'll wait for the EC. Why
is it sucky? If 200ms for a transfer is a common thing it will have a
massively bad impact on keyboard responsiveness.
It still seems like a good idea to do this, though, because we have a
gas gauge that claims that in an extreme case it could stretch the i2c
clock for 144ms. It's not a common case so it shouldn't affect
responsiveness, but it can happen. It's much better to have a single
slow keyboard response than to start returning errors when we don't
have to.
In newer EC designs we should probably implement a virtual battery to
respond to the kernel to insulate the kernel from these types of
issues.
Signed-off-by: Doug Anderson <[email protected]>
Signed-off-by: Enric Balletbo i Serra <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions