diff options
author | Yijing Wang <wangyijing@huawei.com> | 2013-08-08 15:13:54 +0200 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2015-05-26 19:01:44 +0200 |
commit | ebdd117e5aab748d06f872860f36a0b09d8aadfc (patch) | |
tree | ecd94dc5f3642e4104a1355b63834fe2cc523adf /arch/blackfin | |
parent | Merge tag 'pinctrl-v4.1-4' of git://git.kernel.org/pub/scm/linux/kernel/git/l... (diff) | |
download | linux-ebdd117e5aab748d06f872860f36a0b09d8aadfc.tar.xz linux-ebdd117e5aab748d06f872860f36a0b09d8aadfc.zip |
alpha: clean up unnecessary MSI/MSI-X capability find
PCI core will initialize device MSI/MSI-X capability in
pci_msi_init_pci_dev(). So device driver should use
pci_dev->msi_cap/msix_cap to determine whether the device
support MSI/MSI-X instead of using
pci_find_capability(pci_dev, PCI_CAP_ID_MSI/MSIX).
Access to PCIe device config space again will consume more time.
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Acked-by: Matt Turner <mattst88@gmail.com>
Cc: Phil Carmody <pc+lkml@asdf.org>
Cc: linux-alpha@vger.kernel.org
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'arch/blackfin')
0 files changed, 0 insertions, 0 deletions