OSDN Git Service

platform/x86: i2c-multi-instantiate: Introduce IOAPIC IRQ support
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 28 Nov 2018 11:45:32 +0000 (13:45 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 3 Dec 2018 19:40:02 +0000 (21:40 +0200)
commit799d3379a6728794de5ed2be8acc5b4a65d776b6
tree236886b90b1db7e26b30a21a69d3199d835b7c41
parent870ab9a379b6753ed45736152b0237ccc726172c
platform/x86: i2c-multi-instantiate: Introduce IOAPIC IRQ support

If ACPI table provides an Interrupt() resource we may consider to use it
instead of GpioInt() one.

Here we leave an error condition, when getting IRQ resource, to the driver
to decide how to proceed, because some drivers may consider IRQ resource
optional.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/i2c-multi-instantiate.c