summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorJun Lin <CHLin56@nuvoton.com>2021-04-19 19:22:21 +0800
committerCommit Bot <commit-bot@chromium.org>2021-04-23 02:56:01 +0000
commit8d411971acc3a9ebf35918a40e6814a430121b8b (patch)
tree8b38c7e67d451e41987d93e18121a814f507ed8b /driver
parent0121fb418dd855982af442824ed1d3b89486ae0c (diff)
downloadchrome-ec-8d411971acc3a9ebf35918a40e6814a430121b8b.tar.gz
zephyr: shi: npcx: Improve SHI driverstabilize-RUST-13932.B-main
This CL fixes some potential leaks for the SHI driver: 1. Replace irq_lock/irq_unlock with __disable_irq/__enable_irq because irq_lock/irq_unlock leave some system exceptions still enabled. These may block the SHI driver's execution which requires hard timing. 2. Change the interrupt priority of SHI from 2 to 1. BRANCH=none BUG=b:182600858 TEST=Verify the SHI function on Lazor Signed-off-by: Jun Lin <CHLin56@nuvoton.com> Change-Id: If0ea355b5f300054ce8f7ae53de12f99a6d6aba6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2835526 Tested-by: Wealian Liao <whliao@nuvoton.corp-partner.google.com> Tested-by: CH Lin <chlin56@nuvoton.com> Reviewed-by: Wai-Hong Tam <waihong@google.com> Commit-Queue: CH Lin <chlin56@nuvoton.com>
Diffstat (limited to 'driver')
0 files changed, 0 insertions, 0 deletions