]> git.ipfire.org Git - thirdparty/linux.git/commit
pinctrl: intel: move PWM base computation past feature check
authorStepan Ionichev <sozdayvek@gmail.com>
Sun, 17 May 2026 16:15:30 +0000 (21:15 +0500)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 18 May 2026 07:01:17 +0000 (09:01 +0200)
commit2b9ef70d3abe1eaa9b37253fd7765cf40ff2a5ad
tree3d563d1733be33ac8177f6b4bf9e35aca4889780
parent254f49634ee16a731174d2ae34bc50bd5f45e731
pinctrl: intel: move PWM base computation past feature check

Compute base inside intel_pinctrl_probe_pwm() only after the
PINCTRL_FEATURE_PWM and CONFIG_PWM_LPSS checks have passed. Tidy
up; no functional change.

Suggested-by: Andy Shevchenko <andy@kernel.org>
Link: https://lore.kernel.org/linux-gpio/aglu5jy5SbW9Wjwj@ashevche-desk.local/
Signed-off-by: Stepan Ionichev <sozdayvek@gmail.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/pinctrl/intel/pinctrl-intel.c