Skip to content

Commit 141415d

Browse files
committed
Merge tag 'pinctrl-v5.13-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl
Pull pin control fixes from Linus Walleij: - Fix some documentation warnings for Allwinner - Fix duplicated GPIO groups on Qualcomm SDX55 - Fix a double enablement bug in the Ralink driver - Fix the Qualcomm SC8180x Kconfig so the driver can be selected. * tag 'pinctrl-v5.13-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl: pinctrl: qcom: Make it possible to select SC8180x TLMM pinctrl: ralink: rt2880: avoid to error in calls is pin is already enabled pinctrl: qcom: Fix duplication in gpio_groups pinctrl: aspeed: Fix minor documentation error
2 parents efc1fd6 + 30e9857 commit 141415d

File tree

7 files changed

+19
-17
lines changed

7 files changed

+19
-17
lines changed

drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2702,8 +2702,8 @@ static int aspeed_g5_sig_expr_eval(struct aspeed_pinmux_data *ctx,
27022702
}
27032703

27042704
/**
2705-
* Configure a pin's signal by applying an expression's descriptor state for
2706-
* all descriptors in the expression.
2705+
* aspeed_g5_sig_expr_set() - Configure a pin's signal by applying an
2706+
* expression's descriptor state for all descriptors in the expression.
27072707
*
27082708
* @ctx: The pinmux context
27092709
* @expr: The expression associated with the function whose signal is to be

drivers/pinctrl/aspeed/pinctrl-aspeed-g6.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2611,8 +2611,8 @@ static struct aspeed_pin_config aspeed_g6_configs[] = {
26112611
};
26122612

26132613
/**
2614-
* Configure a pin's signal by applying an expression's descriptor state for
2615-
* all descriptors in the expression.
2614+
* aspeed_g6_sig_expr_set() - Configure a pin's signal by applying an
2615+
* expression's descriptor state for all descriptors in the expression.
26162616
*
26172617
* @ctx: The pinmux context
26182618
* @expr: The expression associated with the function whose signal is to be

drivers/pinctrl/aspeed/pinctrl-aspeed.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ static int aspeed_sig_expr_disable(struct aspeed_pinmux_data *ctx,
108108
}
109109

110110
/**
111-
* Disable a signal on a pin by disabling all provided signal expressions.
111+
* aspeed_disable_sig() - Disable a signal on a pin by disabling all provided
112+
* signal expressions.
112113
*
113114
* @ctx: The pinmux context
114115
* @exprs: The list of signal expressions (from a priority level on a pin)

drivers/pinctrl/aspeed/pinmux-aspeed.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ static inline void aspeed_sig_desc_print_val(
2121
}
2222

2323
/**
24-
* Query the enabled or disabled state of a signal descriptor
24+
* aspeed_sig_desc_eval() - Query the enabled or disabled state of a signal
25+
* descriptor.
2526
*
2627
* @desc: The signal descriptor of interest
2728
* @enabled: True to query the enabled state, false to query disabled state

drivers/pinctrl/qcom/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ config PINCTRL_SC7280
223223
config PINCTRL_SC8180X
224224
tristate "Qualcomm Technologies Inc SC8180x pin controller driver"
225225
depends on GPIOLIB && (OF || ACPI)
226-
select PINCTRL_MSM
226+
depends on PINCTRL_MSM
227227
help
228228
This is the pinctrl, pinmux, pinconf and gpiolib driver for the
229229
Qualcomm Technologies Inc TLMM block found on the Qualcomm

drivers/pinctrl/qcom/pinctrl-sdx55.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -410,15 +410,15 @@ static const char * const gpio_groups[] = {
410410
"gpio29", "gpio30", "gpio31", "gpio32", "gpio33", "gpio34", "gpio35",
411411
"gpio36", "gpio37", "gpio38", "gpio39", "gpio40", "gpio41", "gpio42",
412412
"gpio43", "gpio44", "gpio45", "gpio46", "gpio47", "gpio48", "gpio49",
413-
"gpio50", "gpio51", "gpio52", "gpio52", "gpio53", "gpio53", "gpio54",
414-
"gpio55", "gpio56", "gpio57", "gpio58", "gpio59", "gpio60", "gpio61",
415-
"gpio62", "gpio63", "gpio64", "gpio65", "gpio66", "gpio67", "gpio68",
416-
"gpio69", "gpio70", "gpio71", "gpio72", "gpio73", "gpio74", "gpio75",
417-
"gpio76", "gpio77", "gpio78", "gpio79", "gpio80", "gpio81", "gpio82",
418-
"gpio83", "gpio84", "gpio85", "gpio86", "gpio87", "gpio88", "gpio89",
419-
"gpio90", "gpio91", "gpio92", "gpio93", "gpio94", "gpio95", "gpio96",
420-
"gpio97", "gpio98", "gpio99", "gpio100", "gpio101", "gpio102",
421-
"gpio103", "gpio104", "gpio105", "gpio106", "gpio107",
413+
"gpio50", "gpio51", "gpio52", "gpio53", "gpio54", "gpio55", "gpio56",
414+
"gpio57", "gpio58", "gpio59", "gpio60", "gpio61", "gpio62", "gpio63",
415+
"gpio64", "gpio65", "gpio66", "gpio67", "gpio68", "gpio69", "gpio70",
416+
"gpio71", "gpio72", "gpio73", "gpio74", "gpio75", "gpio76", "gpio77",
417+
"gpio78", "gpio79", "gpio80", "gpio81", "gpio82", "gpio83", "gpio84",
418+
"gpio85", "gpio86", "gpio87", "gpio88", "gpio89", "gpio90", "gpio91",
419+
"gpio92", "gpio93", "gpio94", "gpio95", "gpio96", "gpio97", "gpio98",
420+
"gpio99", "gpio100", "gpio101", "gpio102", "gpio103", "gpio104",
421+
"gpio105", "gpio106", "gpio107",
422422
};
423423

424424
static const char * const qdss_stm_groups[] = {

drivers/pinctrl/ralink/pinctrl-rt2880.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ static int rt2880_pmx_group_enable(struct pinctrl_dev *pctrldev,
127127
if (p->groups[group].enabled) {
128128
dev_err(p->dev, "%s is already enabled\n",
129129
p->groups[group].name);
130-
return -EBUSY;
130+
return 0;
131131
}
132132

133133
p->groups[group].enabled = 1;

0 commit comments

Comments
 (0)