aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorHans Verkuil <[email protected]>2018-09-14 10:36:39 +0200
committerLinus Walleij <[email protected]>2018-09-17 08:24:02 -0700
commit171948ea33e14dd1e49ba6439eabe822449ffd21 (patch)
treeb50c3e32005b558145057e97770a287cd4b8d294 /tools/perf/scripts/python/event_analyzing_sample.py
parentd0121b8548bcb9a640de38c13e239493c87c44f4 (diff)
gpiolib: check if irqchip already has the irq hook replacements
Some drivers use a single irqchip for multiple gpiochips. As a result the irqchip hooks are overridden for the first gpiochip that was added, but for the other gpiochip instances this should not happen again, otherwise we would go into an infinite recursion. Check for this, but also log a message that the driver should be fixed since this is bad practice. Signed-off-by: Hans Verkuil <[email protected]> Tested-by: Heikki Krogerus <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions