diff options
author | Martin Blumenstingl | 2021-01-06 14:55:40 +0100 |
---|---|---|
committer | Bjorn Helgaas | 2021-06-24 14:44:13 -0500 |
commit | 655832d12f2251e04031294f547c86935a0a126d (patch) | |
tree | fee1e1c44d3d982bfbc1737fa6d2b7796db1001b /drivers/pci/vc.c | |
parent | 6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff) |
PCI: intel-gw: Fix INTx enable
The legacy PCI interrupt lines need to be enabled using PCIE_APP_IRNEN bits
13 (INTA), 14 (INTB), 15 (INTC) and 16 (INTD). The old code however was
taking (for example) "13" as raw value instead of taking BIT(13). Define
the legacy PCI interrupt bits using the BIT() macro and then use these in
PCIE_APP_IRN_INT.
Link: https://lore.kernel.org/r/20210106135540.48420-1-martin.blumenstingl@googlemail.com
Fixes: ed22aaaede44 ("PCI: dwc: intel: PCIe RC controller driver")
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rahul Tanwar <rtanwar@maxlinear.com>
Diffstat (limited to 'drivers/pci/vc.c')
0 files changed, 0 insertions, 0 deletions