Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

pinctrl: qcom: sm8450-lpass-lpi: correct swr_rx_data group

According to hardware programming guide, the swr_rx_data pin group has
only two pins (GPIO5 and GPIO6). This is also visible in "struct
sm8450_groups" in the driver - GPIO15 does not have swr_rx_data
function.

Fixes: ec1652fc4d56 ("pinctrl: qcom: Add sm8450 lpass lpi pinctrl driver")
Cc: <stable@vger.kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230203165054.390762-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Krzysztof Kozlowski and committed by
Linus Walleij
5921b250 606d4ef4

+1 -1
+1 -1
drivers/pinctrl/qcom/pinctrl-sm8450-lpass-lpi.c
··· 105 105 static const char * const swr_tx_clk_groups[] = { "gpio0" }; 106 106 static const char * const swr_tx_data_groups[] = { "gpio1", "gpio2", "gpio14" }; 107 107 static const char * const swr_rx_clk_groups[] = { "gpio3" }; 108 - static const char * const swr_rx_data_groups[] = { "gpio4", "gpio5", "gpio15" }; 108 + static const char * const swr_rx_data_groups[] = { "gpio4", "gpio5" }; 109 109 static const char * const dmic1_clk_groups[] = { "gpio6" }; 110 110 static const char * const dmic1_data_groups[] = { "gpio7" }; 111 111 static const char * const dmic2_clk_groups[] = { "gpio8" };