diff options
author | Jett Rink <jettrink@chromium.org> | 2019-05-29 15:00:41 -0600 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-05-30 22:02:08 -0700 |
commit | b5909b6d0acd92de66ac21415c24154110574693 (patch) | |
tree | 98c996a5b18ffeec8e773349bccb911533f2a37a /board/garg/battery.c | |
parent | c718b87d8c8b7b65a292b54dfb9d3957b4552329 (diff) | |
download | chrome-ec-b5909b6d0acd92de66ac21415c24154110574693.tar.gz |
ish: remove unnecessary task switch for UART
When starting to send UART data, we do not need to invoke the ISR for
the UART. That only needs to be invoked if there is incoming RX messages
(which it still is invoked) or the FIFO can accept more data and was
full before.
BRANCH=none
BUG=none
TEST=console input and output still works and takes much less time.
Change-Id: Ib05c66ee704aad2d93836709bc6b706c627285c5
Signed-off-by: Jett Rink <jettrink@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1634620
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'board/garg/battery.c')
0 files changed, 0 insertions, 0 deletions