[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <l5pzdnng5lha6vxfoetrectekbujvkqir35fc5cemo6qadqno6@abdgcnbtevb3>
Date: Mon, 27 Jan 2025 17:43:04 +0100
From: Uwe Kleine-König <u.kleine-koenig@...libre.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: linux-pwm@...r.kernel.org, linux-kernel@...r.kernel.org,
Conor Dooley <conor.dooley@...rochip.com>
Subject: [GIT PULL] pwm: Two fixes for v6.14-rc1
Hello Linus,
the following changes since commit e8c59791ebb60790c74b2c3ab520f04a8a57219a:
pwm: stm32: Add check for clk_enable() (2025-01-17 10:41:56 +0100)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git tags/pwm/for-6.14-rc1-fixes
for you to fetch changes up to da6b353786997c0ffa67127355ad1d54ed3324c2:
pwm: Ensure callbacks exist before calling them (2025-01-23 20:35:53 +0100)
Thanks for pulling this for 6.14-rc1.
Best regards
Uwe
----------------------------------------------------------------
pwm: Two fixes for the pwm core and the pwm-microchip-core driver
Conor Dooley found and fixed a problem in the pwm-microchip-core driver
that existed since the driver's birth in v6.5-rc1. It's about a corner
case that only happens if two pwm devices of the same chip are set to
the same long period.
The other problem is about the new pwm API that currently is only
supported by two hardware drivers. The fix prevents a NULL pointer
exception if one of the new functions is called for a pwm device with a
driver that only provides the old callbacks.
----------------------------------------------------------------
Conor Dooley (1):
pwm: microchip-core: fix incorrect comparison with max period
Uwe Kleine-König (1):
pwm: Ensure callbacks exist before calling them
drivers/pwm/core.c | 13 +++++++++++--
drivers/pwm/pwm-microchip-core.c | 2 +-
include/linux/pwm.h | 17 +++++++++++++++++
3 files changed, 29 insertions(+), 3 deletions(-)
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists