aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorMaxime COQUELIN <[email protected]>2014-06-20 13:34:54 +0200
committerLinus Walleij <[email protected]>2014-07-15 20:55:15 +0200
commit7a2deccf0ef12f7f6e33150d5875020c0c94fa94 (patch)
treeca2ff9b4bc49c91074a017b8df68ceda3856fcf8 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parent1795cd9b3a91d4b5473c97f491d63892442212ab (diff)
pinctrl: st: Fix irqmux handler
st_gpio_irqmux_handler() reads the status register to find out which banks inside the controller have pending IRQs. For each banks having pending IRQs, it calls the corresponding handler. Problem is that current code restricts the number of possible banks inside the controller to ST_GPIO_PINS_PER_BANK. This define represents the number of pins inside a bank, so it shouldn't be used here. On STiH407, PIO_FRONT0 controller has 10 banks, so IRQs pending in the two last banks (PIO18 & PIO19) aren't handled. This patch replace ST_GPIO_PINS_PER_BANK by the number of banks inside the controller. Cc: Linus Walleij <[email protected]> Cc: <[email protected]> #v3.15+ Acked-by: Srinivas Kandagatla <[email protected]> Signed-off-by: Maxime Coquelin <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions