]> www.infradead.org Git - users/willy/xarray.git/commit
power: sequencing: qcom-wcn: set the wlan-enable GPIO to output
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 23 Aug 2024 11:55:00 +0000 (13:55 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Sat, 31 Aug 2024 19:32:19 +0000 (21:32 +0200)
commitd8b762070c3fde224f8b9ea3cf59bc41a5a3eb57
tree5178d8cf7ef47881928643cbc9a4aad568d74e15
parent5be63fc19fcaa4c236b307420483578a56986a37
power: sequencing: qcom-wcn: set the wlan-enable GPIO to output

Commit a9aaf1ff88a8 ("power: sequencing: request the WLAN enable GPIO
as-is") broke WLAN on boards on which the wlan-enable GPIO enabling the
wifi module isn't in output mode by default. We need to set direction to
output while retaining the value that was already set to keep the ath
module on if it's already started.

Fixes: a9aaf1ff88a8 ("power: sequencing: request the WLAN enable GPIO as-is")
Link: https://lore.kernel.org/r/20240823115500.37280-1-brgl@bgdev.pl
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/power/sequencing/pwrseq-qcom-wcn.c