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

Configure Feed

Select the types of activity you want to include in your feed.

pinctrl: realtek: Fix function signature for config argument

The argument originates from pinconf_to_config_argument(), which returns a
u32. Therefore, the arg parameter should be an unsigned int instead of enum
pin_config_param.

Fixes: e99ce78030db ("pinctrl: realtek: Add common pinctrl driver for Realtek DHC RTD SoCs")
Signed-off-by: Yu-Chun Lin <eleanor.lin@realtek.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>

authored by

Yu-Chun Lin and committed by
Linus Walleij
1f545184 e238fb21

+1 -1
+1 -1
drivers/pinctrl/realtek/pinctrl-rtd.c
··· 280 280 static int rtd_pconf_parse_conf(struct rtd_pinctrl *data, 281 281 unsigned int pinnr, 282 282 enum pin_config_param param, 283 - enum pin_config_param arg) 283 + unsigned int arg) 284 284 { 285 285 const struct rtd_pin_config_desc *config_desc; 286 286 const struct rtd_pin_sconfig_desc *sconfig_desc;