summaryrefslogtreecommitdiff
path: root/Documentation/driver-api
diff options
context:
space:
mode:
authorSong Hui <hui.song_1@nxp.com>2019-10-11 08:56:43 +0800
committerLinus Walleij <linus.walleij@linaro.org>2019-10-16 14:09:50 +0200
commit698b8eeaed7287970fc2b6d322618850fd1b1e6c (patch)
treee98d0e016d8b900e2332d9554e6dd122be4f5d2a /Documentation/driver-api
parent95873fba06ae39e4042647dec9c1138c0109ce7b (diff)
gpio/mpc8xxx: change irq handler from chained to normal
More than one gpio controllers can share one interrupt, change the driver to request shared irq. While this will work, it will mess up userspace accounting of the number of interrupts per second in tools such as vmstat. The reason is that for every GPIO interrupt, /proc/interrupts records the count against GIC interrupt 68 or 69, as well as the GPIO itself. So, for every GPIO interrupt, the total number of interrupts that the system has seen increments by two. Signed-off-by: Laurentiu Tudor <Laurentiu.Tudor@nxp.com> Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com> Signed-off-by: Song Hui <hui.song_1@nxp.com> Link: https://lore.kernel.org/r/20191011005643.41007-1-hui.song_1@nxp.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/driver-api')
0 files changed, 0 insertions, 0 deletions