[PATCH 0/8] pwm: Fix various bugs reported by Sashiko

Lee Jones lee at kernel.org
Thu Nov 5 06:38:02 PST 2026


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 at chromium.org>
Cc: Binbin Zhou <zhoubinbin at loongson.cn>
Cc: David Lechner <dlechner at baylibre.com>
Cc: Drew Fustini <dfustini at baylibre.com>
Cc: Ezequiel Garcia <ezequiel.garcia at imgtec.com>
Cc: Fabio Estevam <festevam at gmail.com>
Cc: Frank Li <Frank.Li at nxp.com>
Cc: Grant Erickson <marathon96 at gmail.com>
Cc: Huacai Chen <chenhuacai at kernel.org>
Cc: imx at lists.linux.dev
Cc: Joachim Eastwood <manabian at gmail.com>
Cc: Jonathan Hunter <jonathanh at nvidia.com>
Cc: Juxin Gao <gaojuxin at loongson.cn>
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-kernel at vger.kernel.org
Cc: linux-pwm at vger.kernel.org
Cc: linux-tegra at vger.kernel.org
Cc: Lokesh Vutla <lokeshvutla at ti.com>
Cc: Michael Hennerich <michael.hennerich at analog.com>
Cc: Mikko Perttunen <mperttunen at nvidia.com>
Cc: Naidu Tellapati <naidu.tellapati at gmail.com>
Cc: Neil Armstrong <neil.armstrong at linaro.org>
Cc: NeilBrown <neil at brown.name>
Cc: "Nuno Sá" <nuno.sa at analog.com>
Cc: Pengutronix Kernel Team <kernel at pengutronix.de>
Cc: "Philip, Avinash" <avinashphilip at ti.com>
Cc: Rasmus Villemoes <linux at rasmusvillemoes.dk>
Cc: Sai Masarapu <Sai.Masarapu at imgtec.com>
Cc: Sandipan Patra <spatra at nvidia.com>
Cc: Sascha Hauer <s.hauer at pengutronix.de>
Cc: Sergiu Cuciurean <sergiu.cuciurean at analog.com>
Cc: Shawn Guo <shawn.guo at linaro.org>
Cc: Shenwei Wang <shenwei.wang at nxp.com>
Cc: Thierry Reding <thierry.reding at kernel.org>
Cc: Trevor Gamblin <tgamblin at baylibre.com>
Cc: "Uwe Kleine-König" <ukleinek at kernel.org>
Cc: Vaibhav Bedia <vaibhav.bedia at ti.com>
Cc: Vladimir Zapolskiy <vladimir_zapolskiy at mentor.com>
Cc: Xiubo Li <Li.Xiubo at freescale.com>
-- 
2.56.0.398.g882cbad275-goog



More information about the linux-arm-kernel mailing list