Skip to content

Commit 48ec733

Browse files
MollySophialinusw
authored andcommitted
pinctrl: qcom: sc8180x: Fix wrong pin numbers
The pin numbers for UFS_RESET and SDC2_* are not consistent in the pinctrl driver for sc8180x. So fix it. Signed-off-by: Molly Sophia <[email protected]> Fixes: 9742311 ("pinctrl: qcom: Add sc8180x TLMM driver") Reviewed-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent 6124cec commit 48ec733

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/pinctrl/qcom/pinctrl-sc8180x.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -530,10 +530,10 @@ DECLARE_MSM_GPIO_PINS(187);
530530
DECLARE_MSM_GPIO_PINS(188);
531531
DECLARE_MSM_GPIO_PINS(189);
532532

533-
static const unsigned int sdc2_clk_pins[] = { 190 };
534-
static const unsigned int sdc2_cmd_pins[] = { 191 };
535-
static const unsigned int sdc2_data_pins[] = { 192 };
536-
static const unsigned int ufs_reset_pins[] = { 193 };
533+
static const unsigned int ufs_reset_pins[] = { 190 };
534+
static const unsigned int sdc2_clk_pins[] = { 191 };
535+
static const unsigned int sdc2_cmd_pins[] = { 192 };
536+
static const unsigned int sdc2_data_pins[] = { 193 };
537537

538538
enum sc8180x_functions {
539539
msm_mux_adsp_ext,

0 commit comments

Comments
 (0)