diff options
author | Nick Sanders <nsanders@chromium.org> | 2017-03-23 19:10:35 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-04-11 20:22:37 -0700 |
commit | fc12f29363bef32e9d6b857b5de87a145260721c (patch) | |
tree | 5c15a9c513c8d368d79e26015f12f3f8fec59e07 | |
parent | 1b98fcdcf067cb0055f119d56484887b7cfd7520 (diff) | |
download | chrome-ec-fc12f29363bef32e9d6b857b5de87a145260721c.tar.gz |
tigertail: bugfix mux select
Don't clobber uart autodetect settings on detect.
BRANCH=None
BUG=b:35849284
TEST=ran on tigertail
Change-Id: I608705b933272a902d5fff05c1b1a77162bf4c3c
Reviewed-on: https://chromium-review.googlesource.com/461325
Commit-Ready: Nick Sanders <nsanders@chromium.org>
Tested-by: Nick Sanders <nsanders@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
-rw-r--r-- | board/tigertail/board.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/board/tigertail/board.c b/board/tigertail/board.c index 8229aaadd8..4a574e7fad 100644 --- a/board/tigertail/board.c +++ b/board/tigertail/board.c @@ -260,7 +260,8 @@ void uart_sbu_tick(void) if (debounce > 4) { debounce = 0; CPRINTS("UART autoenable\n"); - set_uart_state(state); + uart_state = state; + set_uart_gpios(state); } return; } @@ -272,7 +273,8 @@ void uart_sbu_tick(void) if (debounce > 4) { debounce = 0; CPRINTS("UART autodisable\n"); - set_uart_state(UART_OFF); + uart_state = UART_OFF; + set_uart_gpios(UART_OFF); } return; } |