]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PCI: designware: Add irq_create_mapping()
authorPratyush Anand <pratyush.anand@st.com>
Wed, 9 Oct 2013 12:32:12 +0000 (21:32 +0900)
committerRichard Zhu <r65037@freescale.com>
Wed, 20 Nov 2013 06:10:30 +0000 (14:10 +0800)
commitc169e751d3e4dbd6a65b05511d1e56ecc80644e6
treef59f60ab260b6cca20ca8e1ce726892acef172b3
parent65af7c30548bf5a89e1ad644da36bfb55b4f887f
PCI: designware: Add irq_create_mapping()

Without irq_create_mapping(), the correct IRQ number cannot be
provided.  In this case, it makes problems such as NULL dereference.
Thus, irq_create_mapping() should be added for MSI.

Suggested-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Pratyush Anand <pratyush.anand@st.com>
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pcie-designware.c
drivers/pci/host/pcie-designware.h