Re: [RFC PATCH] gpio/acpi: set direction for ACPI OpRegion GPIOs

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

 



On Wed, May 29, 2019 at 12:13:42PM +0200, Ard Biesheuvel wrote:
> The ACPI GPIO OpRegion code never sets the direction for GPIOs that
> it configures from scratch, leaving unconfigured GPIOs to be left
> at the default direction, which is typically input not output.

The code does:

  enum gpiod_flags flags = acpi_gpio_to_gpiod_flags(agpio);

before it requests the GPIO. Isn't that sufficient?



[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