Files
OpenCellular/chip/lm4
Shamile Khan f748a7fbd5 common: adc/i2c: Mark task_waiting volatile
When Link Time Optimization is turned on, functions that set
task_waiting multiple times have one of the sets removed
by the linker leading to undesired results.

Marking task_waiting volatile alleviates this issue.

BUG=chrome-os-partner:46063
TEST=Manually tested on Kunimitsu.
         Console command adc shows correct value of approx
         20000 mV for VBUS.
BRANCH=none

Change-Id: I85a6e5c9688ae72c45d90fb58296f94b74a301aa
Signed-off-by: Shamile Khan <shamile.khan@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/314233
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
2015-12-01 18:52:53 -08:00
..
2013-12-19 00:12:28 +00:00
2013-12-19 00:12:28 +00:00
2013-10-21 23:59:38 +00:00
2013-12-19 00:12:28 +00:00
2015-06-18 19:07:00 +00:00
2015-07-30 19:57:55 +00:00