sony-laptop: SPIC unset IRQF_SHARED, set IRQF_DISABLED
authorMattia Dongili <malattia@linux.it>
Tue, 15 Sep 2009 15:05:30 +0000 (00:05 +0900)
committerLen Brown <len.brown@intel.com>
Mon, 28 Sep 2009 03:19:37 +0000 (23:19 -0400)
commitd1e0de92d6c706cc68627c884b2d58d3db707804
treecd7bdaeaff0a7975b17af1a7c8c267b8b0e56e4b
parent31df7144da55aad9b453f36291b9fd9b19b1eb6a
sony-laptop: SPIC unset IRQF_SHARED, set IRQF_DISABLED

The SPIC irq is not really shareable, the IO port cannot be cleared and
always returns some data so there is no real way to understand if the irq
is for us or not. Moreover the _PRS acpi method says the irq is not
shareable.
In addition to this, in some cases, an additional write to the IO port has
to be performed in order to properly decode the event received from the
device. This generates another interrupt which may overlap with the
previous one. In the future this is going to be important for properly
decoding events.

Signed-off-by: Mattia Dongili <malattia@linux.it>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/sony-laptop.c