aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/via/car
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2016-08-18 21:39:14 -0700
committerFurquan Shaikh <furquan@google.com>2016-08-20 10:48:37 +0200
commit63e424cec250374997bce1471d0c63dec0d71adc (patch)
treef05f7fd211e94d5b5350cdf70e1e537739c432b6 /src/cpu/via/car
parent3828e55a8c722dc157839a9abab947e655933494 (diff)
google/chromeec: Ensure data is ready before reading it
Before reading the data provided by EC to the host, ensure that data ready flag is set. Otherwise, it could result in reading stale/incorrect data from the data buffer. BUG=chrome-os-partner:56395 BRANCH=None TEST=Verified that lidclose event is read correctly by host on reef. Change-Id: I88e345d64256af8325b3dbf670467d09f09420f0 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/16258 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/cpu/via/car')
0 files changed, 0 insertions, 0 deletions