summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2013-05-08 02:43:59 +0800
committerChromeBot <chrome-bot@google.com>2013-05-07 20:59:47 -0700
commit235e6e1d0d713ddad79fa77d6982c006378053cd (patch)
treeb4bb3c44f4f7a23ae4a37f268bcbe3c4e5eed135 /common
parent0fe217c745406dd562d875ee845a73f8783339b8 (diff)
downloadchrome-ec-235e6e1d0d713ddad79fa77d6982c006378053cd.tar.gz
stm32f: Set ADC single read timeout
If an ADC read fails and EOC bit is somehow never set, we will be stuck in the read function holding mutex lock forever, which is really bad. Let's set a timeout for this. BUG=chrome-os-partner:18997 TEST=Boot Spring. Check ADC works. BRANCH=spring Change-Id: I19b108326f34f380497606fe92eabfaf0a778bb4 Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/50338 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions