diff options
author | Michal Simek <michal.simek@xilinx.com> | 2015-04-13 16:34:21 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-13 05:14:25 -0700 |
commit | 9b19c50bff3747129752fa7883cf9a8a7d9e96b2 (patch) | |
tree | 0fdb4254e07c8781c155becefab18653affe8524 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 7128fcca1ba0f1598504627f8426ea8568be7ed6 (diff) |
serial: xilinx: Use platform_get_irq to get irq description structure
commit 5c90c07b98c02198d9777a7c4f3047b0a94bf7ed upstream.
For systems with CONFIG_SERIAL_OF_PLATFORM=y and device_type =
"serial"; property in DT of_serial.c driver maps and unmaps IRQ (because
driver probe fails). Then a driver is called but irq mapping is not
created that's why driver is failing again in again on request_irq().
Based on this use platform_get_irq() instead of platform_get_resource()
which is doing irq_desc allocation and driver itself can request IRQ.
Fix both xilinx serial drivers in the tree.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions