summaryrefslogtreecommitdiff
path: root/chip
diff options
context:
space:
mode:
authorDenis Brockus <dbrockus@chromium.org>2019-11-27 11:08:04 -0700
committerCommit Bot <commit-bot@chromium.org>2019-12-04 19:57:57 +0000
commit7e672869de0142a0af9c90875a732600e9fb5d87 (patch)
treebece30812dc8bc4be3b6885963edde4b31929b0f /chip
parentb4f8858cef8105edee5a049beb8c93b102186bc3 (diff)
downloadchrome-ec-7e672869de0142a0af9c90875a732600e9fb5d87.tar.gz
tcpci: restructure fault fetch and clearing
Changed the code to not be as indented by using functions instead of nesting deeper and deeper in conditions. The intent would be to add tcpci_handle_fault(port, fault) if we ever decide to generically handle faults. For now it just prints the fault. BUG=b:144126745 BRANCH=none TEST=if any console FAULT output verify properly handled Change-Id: Ie406302c4a824e7d14ca0832cf7bfca7432680f6 Signed-off-by: Denis Brockus <dbrockus@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1940778 Commit-Queue: Edward Hill <ecgh@chromium.org> Reviewed-by: Edward Hill <ecgh@chromium.org>
Diffstat (limited to 'chip')
0 files changed, 0 insertions, 0 deletions