-
由 Christoph Hellwig 提交于
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: NChristoph Hellwig <hch@lst.de> Reported-by: NRobert Richter <robert.richter@cavium.com> Tested-by: NRobert Richter <robert.richter@cavium.com> Tested-by: NDavid Daney <ddaney.cavm@gmail.com> Fixes: 0b9e2988 ("ahci: use pci_alloc_irq_vectors") Signed-off-by: NTejun Heo <tj@kernel.org>
0ce57f8a