summaryrefslogtreecommitdiff
path: root/core/nds32/task.c
diff options
context:
space:
mode:
authorMulin Chao <mlchao@nuvoton.com>2016-05-04 11:00:51 +0800
committerchrome-bot <chrome-bot@chromium.org>2016-05-18 18:11:33 -0700
commit6e0c60d11f704302f00f7b58a0a94695bb5dd85a (patch)
tree616225cbdf99bce6ad2ead1b172a4f820e68f91e /core/nds32/task.c
parente9501105c29100769151c75dbb3d037c5f133921 (diff)
downloadchrome-ec-6e0c60d11f704302f00f7b58a0a94695bb5dd85a.tar.gz
npcx: Modify gpio's interrupt utilities
Setting NVIC_EN register is not a suitable method if you want to turn on/off one GPIO's interrupt. Since there're eight sources belong to the same interrupt, using MIWU_EN register which bit belongs to one MIWU's source is a better way. Modified sources: 1. gpio.c: Replace accessing NVIC_EN register with MIWU_EN in gpio's interrupt utilities. BRANCH=none BUG=chrome-os-partner:34346 TEST=make buildall -j; test nuvoton IC specific drivers Change-Id: I282a45f5a3ab7cb032b2282cf7e92cacc5e706b6 Signed-off-by: Mulin Chao <mlchao@nuvoton.com> Reviewed-on: https://chromium-review.googlesource.com/342122 Commit-Ready: Shawn N <shawnn@chromium.org> Tested-by: Bill Richardson <wfrichar@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'core/nds32/task.c')
0 files changed, 0 insertions, 0 deletions