Re: [PATCH v2] gpio: acpi: Ignore -EPROBE_DEFER for unselected gpioints

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

 



Hi,

On 15-03-17 11:54, Mika Westerberg wrote:
On Wed, Mar 15, 2017 at 11:31:36AM +0100, Linus Walleij wrote:
On Mon, Mar 13, 2017 at 11:04 PM, Hans de Goede <hdegoede@xxxxxxxxxx> wrote:

When acpi_dev_gpio_irq_get gets called with an index of say 2, it should
not care if acpi_get_gpiod for index 0 or 1 returns -EPROBE_DEFER.

This allows drivers which request a gpioint with index > 0 to function
if there is no gpiochip driver (loaded) for gpioints with a lower index.

Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

I am dependent on Mika and Rafael to review ACPI/GPIO patches,
maybe I should just put in a special entry to MAINTAINERS for
this file... anyway let's see what they say.

Hans, could you in future Cc patches related to ACPI to linux-acpi
mailing list as well?

Ok, will do.

This one I looked up from linux-gpio mail
archives.

The patch looks good to me so,

Acked-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>

Thank you.

Regards,

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



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux