Christoph Hellwig 0ce57f8af1 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 <hch@lst.de>
Reported-by: Robert Richter <robert.richter@cavium.com>
Tested-by: Robert Richter <robert.richter@cavium.com>
Tested-by: David Daney <ddaney.cavm@gmail.com>
Fixes: 0b9e2988ab22 ("ahci: use pci_alloc_irq_vectors")
Signed-off-by: Tejun Heo <tj@kernel.org>
2016-10-25 11:43:07 -04:00
..
2016-09-06 12:38:17 -04:00
2016-09-06 12:38:17 -04:00
2016-07-27 14:03:52 -07:00
2014-03-11 08:30:53 -04:00
2015-09-10 17:02:04 -04:00
2008-01-23 05:24:15 -05:00
2015-11-30 10:02:49 -05:00
2015-04-16 13:53:32 -05:00
2007-07-02 10:17:42 -04:00