]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
pinctrl: abx500: Fix type of 'argument' variable
authorYu-Chun Lin <eleanor15x@gmail.com>
Fri, 20 Mar 2026 15:15:06 +0000 (23:15 +0800)
committerLinus Walleij <linusw@kernel.org>
Mon, 23 Mar 2026 13:26:06 +0000 (14:26 +0100)
commit34006f77890d050e6d80cbee365b5d703c1140b4
tree032483366acec5e9c3360d38dcd57b0737568302
parente309dbd523b877f049496ecd6560fa3d9551e2d1
pinctrl: abx500: Fix type of 'argument' variable

The argument variable is assigned the return value of
pinconf_to_config_argument(), which returns a u32. Change its type from
enum pin_config_param to unsigned int to correctly store the configuration
argument.

Fixes: 03b054e9696c ("pinctrl: Pass all configs to driver on pin_config_set()")
Signed-off-by: Yu-Chun Lin <eleanor15x@gmail.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>
drivers/pinctrl/nomadik/pinctrl-abx500.c