diff options
| author | Christoph Hellwig <[email protected]> | 2016-10-25 12:04:34 +0000 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2016-10-25 15:43:07 +0000 |
| commit | 0ce57f8af1782fd12d3a81872a4ab97244989802 (patch) | |
| tree | c2091a8c7add241141b0408ade97176e02cdb851 /lib/debugobjects.c | |
| parent | ahci: fix nvec check (diff) | |
| download | kernel-0ce57f8af1782fd12d3a81872a4ab97244989802.tar.gz kernel-0ce57f8af1782fd12d3a81872a4ab97244989802.zip | |
ahci: fix the single MSI-X case in ahci_init_one
We need to make sure hpriv->irq is set properly if we don't use per-port
vectors, so switch from blindly assigning pdev->irq to using
pci_irq_vector, which handles all interrupt types correctly.
Signed-off-by: Christoph Hellwig <[email protected]>
Reported-by: Robert Richter <[email protected]>
Tested-by: Robert Richter <[email protected]>
Tested-by: David Daney <[email protected]>
Fixes: 0b9e2988ab22 ("ahci: use pci_alloc_irq_vectors")
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
