Messages in this thread | | | Date | Tue, 1 Dec 2015 10:26:55 -0700 | From | Jason Gunthorpe <> | Subject | Re: [PATCH 1/2] tpm_tis: Disable interrupt auto probing on a per-device basis |
| |
On Tue, Dec 01, 2015 at 08:17:43AM +0100, Uwe Kleine-König wrote: > Hello Jason, > > On Mon, Nov 30, 2015 at 12:27:11PM -0700, Jason Gunthorpe wrote: > > Instead of clearing the global interrupts flag when any device > > does not have an interrupt just pass -1 through tpm_info.irq. > > Is there a reason not to use 0 for the invalid irq?
0 already means 'no IRQ given, do auto-probe'. -1 is now 'no IRQ given, disable IRQ operation'
Jason
| |