Re: USB core PCI irq question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 17, 2010 at 12:32:07PM -0500, Alan Stern wrote:
> > Andiry, if Alan says we can't rely on that fact, you could change the
> > suspend_common() code to skip the irq sync if pci_dev->irq is equal to
> > -1.  You would have to set pci_dev->irq to -1 when you enable MSI-X in
> > the xHCI driver.
> 
> You want to be a little careful about setting ->irq to -1 and comparing
> the resulting values, because it is supposed to be an unsigned int.  
> There have been repeated discussions regarding what irq value is
> supposed to mean "no irq", but I don't remember the outcomes.

I think that '0' means "no irq".

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux