diff options
author | 2015-04-13 16:34:21 +0200 | |
---|---|---|
committer | 2015-04-28 14:26:21 +0200 | |
commit | 5c90c07b98c02198d9777a7c4f3047b0a94bf7ed (patch) | |
tree | 8acd947d49a45f01888b9607787fde0816004b21 /scripts/gdb/linux/modules.py | |
parent | serial: core: Fix kernel-doc build warnings (diff) | |
download | wireguard-linux-5c90c07b98c02198d9777a7c4f3047b0a94bf7ed.tar.xz wireguard-linux-5c90c07b98c02198d9777a7c4f3047b0a94bf7ed.zip |
serial: xilinx: Use platform_get_irq to get irq description structure
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>
CC: <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions