mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2026-01-06 20:44:11 +00:00
acpi_get_and_request_gpiod() does not take a gpio_lookup_flags argument
specifying that the pins direction should be initialized to a specific
value.
This means that in some cases the pins might be left in input mode, causing
the gpiod_set() calls made to enable the clk / regulator to not work.
One example of this problem is the clk-enable GPIO for the ov01a1s sensor
on a Dell Latitude 9420 being left in input mode causing the clk to
never get enabled.
Explicitly set the direction of the pins to output to fix this.
Fixes:
|
||
|---|---|---|
| .. | ||
| clk_and_regulator.c | ||
| common.c | ||
| common.h | ||
| discrete.c | ||
| Kconfig | ||
| Makefile | ||
| tps68470_board_data.c | ||
| tps68470.c | ||
| tps68470.h | ||