aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2014-06-30 12:04:59 -0400
committerLinus Walleij <linus.walleij@linaro.org>2014-07-11 08:08:25 -0400
commit0d3bafac658de2f8e267df805a61e597449699b5 (patch)
tree2316c9bbd5d6bd41fae57aa3960c2ce0fe576e76 /tools/perf/util/scripting-engines/trace-event-python.c
parentd61e23e5250e2d189f6bcdac71abf3e997398714 (diff)
pinctrl: sunxi: Fix multi bank interrupt support in gpio_to_irq
When mapping the interrupts, the gpio_to_irq function did not consider the bank number of the gpio pin in question, only the offset or the interrupt number in the bank. As a result, requests for interrupts in the later banks get mapped to the first bank. This issue was discovered while enabling mmc on the new sun8i platform. The tablet I have uses a pin/interrupt from the second bank to do mmc card detection. Tested on this very device with register inspection and actual mmc card insertion/removal. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions