diff options
author | 2014-09-16 16:23:15 +0300 | |
---|---|---|
committer | 2014-09-24 09:47:20 +0200 | |
commit | 324b0398781e7afb846378dd2d8a4374faaf236b (patch) | |
tree | 4e6d55c8229c743f41efbc8c1e92906e3c732bdb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: Fix gpio direction flags not getting set (diff) | |
download | linux-rng-324b0398781e7afb846378dd2d8a4374faaf236b.tar.xz linux-rng-324b0398781e7afb846378dd2d8a4374faaf236b.zip |
gpio: Fix potential NULL handler data in chained irqchip handler
There is possibility with misconfigured pins that interrupt occurs instantly
after setting irq_set_chained_handler() in gpiochip_set_chained_irqchip().
Now if handler gets called before irq_set_handler_data() the handler gets
NULL handler data.
Fix this by moving irq_set_handler_data() call before
irq_set_chained_handler() in gpiochip_set_chained_irqchip().
Cc: Stable <stable@vger.kernel.org> # 3.15+
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions