]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
pinctrl: intel: Fix wrong bypass assignment in intel_pinctrl_probe_pwm()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 10 Feb 2025 19:44:51 +0000 (21:44 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Apr 2025 12:39:21 +0000 (14:39 +0200)
commitbf233124d3986f30a68617e4014ecfa3a821e585
tree6fbc34cc1749bea885de3f01748561517e98f7c6
parent5416777d568aad260866fa8ea71307cf3baca505
pinctrl: intel: Fix wrong bypass assignment in intel_pinctrl_probe_pwm()

[ Upstream commit 0eee258cdf172763502f142d85e967f27a573be0 ]

When instantiating PWM, the bypass should be set to false. The field
is used for the selected Intel SoCs that do not have PWM feature enabled
in their pin control IPs.

Fixes: eb78d3604d6b ("pinctrl: intel: Enumerate PWM device when community has a capability")
Reported-by: Alexis GUILLEMET <alexis.guillemet@dunasys.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Tested-by: Alexis GUILLEMET <alexis.guillemet@dunasys.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pinctrl/intel/pinctrl-intel.c