Re: [PATCH 1/2] gpio: acpi: acpi_gpio_resource_lookup: return info even if there is no desc

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

 



Hi,

On 15-03-17 11:17, Linus Walleij wrote:
On Fri, Mar 10, 2017 at 9:58 PM, Hans de Goede <hdegoede@xxxxxxxxxx> wrote:

Make acpi_gpio_resource_lookup fill acpi_gpio_info even if there is
no gpio_desc for the gpio and add a found flag to lookup which is
used to indicate that valid info was found.

This is a preparation patch for making acpi_dev_gpio_irq_get actually
skip interrupts which do not match the requested index, rather then
bailing if it cannot retreive a gpio_desc for them.

Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx>

I'm totally dependent on Mika/Rafael to review these ACPI patches.

This series has been superseded by: "gpio: acpi: Ignore -EPROBE_DEFER for unselected gpioints"
which is a single simpler patch fixing the issue in a better way.

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