summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorSteven Lee <steven_lee@aspeedtech.com>2021-09-07 12:55:25 +0300
committerJae Hyun Yoo <jae.hyun.yoo@intel.com>2021-09-13 19:12:01 +0300
commit9c808fc8b3ad7c030fe546b1b5c6c38556fa784a (patch)
tree2853bca0f6df598981492ff76d7500eb4b752de3 /lib/mpi/mpiutil.c
parent1c6f1e6de38810cb6aee660c3d52e44e923bdfa5 (diff)
downloadlinux-9c808fc8b3ad7c030fe546b1b5c6c38556fa784a.tar.xz
gpio: gpio-aspeed-sgpio: Fix wrong hwirq in irq handler.
The current hwirq is calculated based on the old GPIO pin order(input GPIO range is from 0 to ngpios - 1). It should be calculated based on the current GPIO input pin order(input GPIOs are 0, 2, 4, ..., (ngpios - 1) * 2). Signed-off-by: Steven Lee <steven_lee@aspeedtech.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions