irqchip: armada-370-xp: implement the ->check_device() msi_chip operation
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 18 Apr 2014 12:19:48 +0000 (14:19 +0200)
committerJason Cooper <jason@lakedaemon.net>
Sun, 20 Apr 2014 19:14:30 +0000 (19:14 +0000)
commit830cbe4b7a918613276aa3d3b28d24410623f92c
tree51681a940c786dcda6029d0cf13639feb491dc0e
parentda343fc776e0bcb238b65d9d24610819b95d0ef4
irqchip: armada-370-xp: implement the ->check_device() msi_chip operation

Until now, we were leaving the ->check_device() msi_chip operation
empty, which leads the PCI core to believe that we support both MSI
and MSI-X. In fact, we do not support MSI-X, so we have to tell this
to the PCI core by providing an implementation of this operation.

Fixes: 31f614edb726fcc4d5aa0f2895fbdec9b04a3ca4 ('irqchip: armada-370-xp: implement MSI support')
Cc: <stable@vger.kernel.org> # v3.13+
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Link: https://lkml.kernel.org/r/1397823593-1932-3-git-send-email-thomas.petazzoni@free-electrons.com
Tested-by: Neil Greatorex <neil@fatboyfat.co.uk>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-armada-370-xp.c