summaryrefslogtreecommitdiff
path: root/include/temp_sensor.h
diff options
context:
space:
mode:
authorLouis Yung-Chieh Lo <yjlou@chromium.org>2012-06-01 16:33:58 +0800
committerGerrit <chrome-bot@google.com>2012-06-07 20:48:51 -0700
commit210ddfefcfe90944c70105463beb6f795513c5e6 (patch)
treed979799b7cdf940bfadaaeb5e258e24b0841c299 /include/temp_sensor.h
parentc4ac74a11dfa66d6ad725833e2aac6579b0c76ed (diff)
downloadchrome-ec-210ddfefcfe90944c70105463beb6f795513c5e6.tar.gz
Refactor the i8042 module to be thread-safe.
Any command/data coming from host will be placed in from_host queue, and the interrupt handler returns immediately. The i8042_command_task() will handle them later. Data reply to the host will be protected by the mutex. BUG=chrome-os-partner:10090 TEST=randomly play around on the link board. Change-Id: Ic19d5abd1abf8dc261ddaad4224cd9305c2f36a4 Signed-off-by: Louis Yung-Chieh Lo <yjlou@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/24299 Commit-Ready: Yung-Chieh Lo <yjlou%chromium.org@gtempaccount.com> Reviewed-by: Yung-Chieh Lo <yjlou%chromium.org@gtempaccount.com> Tested-by: Yung-Chieh Lo <yjlou%chromium.org@gtempaccount.com>
Diffstat (limited to 'include/temp_sensor.h')
0 files changed, 0 insertions, 0 deletions