[PATCH 0/8] pwm: Fix various bugs reported by Sashiko
From: Lee Jones
Date: Thu Nov 05 2026 - 09:39:00 EST
These issues were reported by Sashiko.
Lee Jones (8):
pwm: tegra: Prevent 32-bit period truncation and division by zero
pwm: mxs: Return early when disabling and fix error-path clock leak
pwm: loongson: Fix 32-bit control register truncation in
pwm_loongson_set_polarity()
pwm: axi-pwmgen: Enable clocks before accessing hardware registers in
probe()
pwm: fsl-ftm: Enable ipg_clk around regcache_sync() during resume
pwm: omap-dmtimer: Handle negative error codes from get_pwm_status()
pwm: tiehrpwm: Enable runtime PM before registering PWM chip
pwm: img: Unregister PWM chip before disabling runtime PM and clocks
drivers/pwm/pwm-axi-pwmgen.c | 20 ++++++++++----------
drivers/pwm/pwm-fsl-ftm.c | 7 +++++++
drivers/pwm/pwm-img.c | 8 ++++----
drivers/pwm/pwm-loongson.c | 2 +-
drivers/pwm/pwm-mxs.c | 32 ++++++++++++++++++--------------
drivers/pwm/pwm-omap-dmtimer.c | 8 ++++++--
drivers/pwm/pwm-tegra.c | 14 +++++++-------
drivers/pwm/pwm-tiehrpwm.c | 15 ++++++++-------
8 files changed, 61 insertions(+), 45 deletions(-)
Cc: Andrew Bresticker <abrestic@xxxxxxxxxxxx>
Cc: Binbin Zhou <zhoubinbin@xxxxxxxxxxx>
Cc: David Lechner <dlechner@xxxxxxxxxxxx>
Cc: Drew Fustini <dfustini@xxxxxxxxxxxx>
Cc: Ezequiel Garcia <ezequiel.garcia@xxxxxxxxxx>
Cc: Fabio Estevam <festevam@xxxxxxxxx>
Cc: Frank Li <Frank.Li@xxxxxxx>
Cc: Grant Erickson <marathon96@xxxxxxxxx>
Cc: Huacai Chen <chenhuacai@xxxxxxxxxx>
Cc: imx@xxxxxxxxxxxxxxx
Cc: Joachim Eastwood <manabian@xxxxxxxxx>
Cc: Jonathan Hunter <jonathanh@xxxxxxxxxx>
Cc: Juxin Gao <gaojuxin@xxxxxxxxxxx>
Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
Cc: linux-kernel@xxxxxxxxxxxxxxx
Cc: linux-pwm@xxxxxxxxxxxxxxx
Cc: linux-tegra@xxxxxxxxxxxxxxx
Cc: Lokesh Vutla <lokeshvutla@xxxxxx>
Cc: Michael Hennerich <michael.hennerich@xxxxxxxxxx>
Cc: Mikko Perttunen <mperttunen@xxxxxxxxxx>
Cc: Naidu Tellapati <naidu.tellapati@xxxxxxxxx>
Cc: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
Cc: NeilBrown <neil@xxxxxxxxxx>
Cc: "Nuno Sá" <nuno.sa@xxxxxxxxxx>
Cc: Pengutronix Kernel Team <kernel@xxxxxxxxxxxxxx>
Cc: "Philip, Avinash" <avinashphilip@xxxxxx>
Cc: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx>
Cc: Sai Masarapu <Sai.Masarapu@xxxxxxxxxx>
Cc: Sandipan Patra <spatra@xxxxxxxxxx>
Cc: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
Cc: Sergiu Cuciurean <sergiu.cuciurean@xxxxxxxxxx>
Cc: Shawn Guo <shawn.guo@xxxxxxxxxx>
Cc: Shenwei Wang <shenwei.wang@xxxxxxx>
Cc: Thierry Reding <thierry.reding@xxxxxxxxxx>
Cc: Trevor Gamblin <tgamblin@xxxxxxxxxxxx>
Cc: "Uwe Kleine-König" <ukleinek@xxxxxxxxxx>
Cc: Vaibhav Bedia <vaibhav.bedia@xxxxxx>
Cc: Vladimir Zapolskiy <vladimir_zapolskiy@xxxxxxxxxx>
Cc: Xiubo Li <Li.Xiubo@xxxxxxxxxxxxx>
--
2.56.0.398.g882cbad275-goog