mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
acpi_gpiobus: assume GPIO_PIN_INPUT for interrupt pins
Different drivers respond differently to having neither GPIO_PIN_INPUT or GPIO_PIN_OUTPUT set, this stops the unpredictable results. (cherry picked from commit 6aab381a498f1a43ba372f4ae9f57ef88b4767b5)
This commit is contained in:
parent
0d6ed98ef3
commit
f05f6d9373
1 changed files with 1 additions and 0 deletions
|
|
@ -77,6 +77,7 @@ acpi_gpiobus_convflags(ACPI_RESOURCE_GPIO *gpio_res)
|
|||
break;
|
||||
}
|
||||
|
||||
flags |= GPIO_PIN_INPUT;
|
||||
#ifdef NOT_YET
|
||||
/* This is not currently implemented. */
|
||||
if (gpio_res->Shareable == ACPI_SHARED)
|
||||
|
|
|
|||
Loading…
Reference in a new issue