summaryrefslogtreecommitdiff
path: root/include/usb_pd.h
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2015-10-23 10:50:23 -0700
committerchrome-bot <chrome-bot@chromium.org>2015-10-28 00:23:48 -0700
commit21c46e7b1300022fcee1e5997b3e9293c47c27ea (patch)
tree391f5fb1eeb32a85d054ada31b081840ab5654e7 /include/usb_pd.h
parent7253e57b3c5f415d53558d8e8266c70ff42975a7 (diff)
downloadchrome-ec-21c46e7b1300022fcee1e5997b3e9293c47c27ea.tar.gz
motion: Remove duplicate shutdown code
Call shutdown() entry point at init() and remove duplicate code. shutdown would init the sensor so they would be ready if needed. Set S5 flag to include G3 (hard off) state, not only S5 (soft off). BUG=chrome-os-partner:45722 BRANCH=smaug TEST=When doing a RO->RW transition while AP is in G3, check the sensors are initialized properly. This issue was found while testng the magic sequence code. Change-Id: I647f83580240bf5ba0c340fca3184220abe4c12e Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/308561 Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'include/usb_pd.h')
0 files changed, 0 insertions, 0 deletions