]> git.baikalelectronics.ru Git - kernel.git/commit
HID: intel-ish-hid: request_irq failure
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Fri, 21 Oct 2016 22:48:41 +0000 (15:48 -0700)
committerJiri Kosina <jkosina@suse.cz>
Sat, 5 Nov 2016 14:57:38 +0000 (15:57 +0100)
commit5d2d0dd232317c6634799ffc2b1b6e10f80819dd
tree32d7dbbc6c7d2aaf4316e2dc7d9c5e8d49cf2ef6
parent905e79b6f005046b60e0b636a6611e3bf13a151f
HID: intel-ish-hid: request_irq failure

On some platforms ISH interrupt is shared, which causes request_irq to
fail. This requires IRQF_SHARED irq flag.

But IRQF_NO_SUSPEND and IRQF_SHARED should not be used together, so
removed IRQF_NO_SUSPEND flag. Anyway this driver doesn't require
IRQF_NO_SUSPEND, as this interrupt is not required during "noirq" phases
of suspending and resuming devices as well as during the time when
nonboot CPUs are taken offline and brought back online.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/intel-ish-hid/ipc/pci-ish.c