mbox series

[GIT,PULL] pwm: Three fixes for the pwm-stm32 driver (take 2)

Message ID kgjqqj4lw7tc5cnafhjttozhiukrm7hgsb2veutlrhxgfmap57@dxeuw37qo6sg
State Accepted
Headers show
Series [GIT,PULL] pwm: Three fixes for the pwm-stm32 driver (take 2) | expand

Pull-request

https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git tags/pwm/for-6.10-rc5-fixes-take2

Message

Uwe Kleine-König June 22, 2024, 2:48 p.m. UTC
Hello Linus,

The following changes since commit 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0:

  Linux 6.10-rc1 (2024-05-26 15:20:12 -0700)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git tags/pwm/for-6.10-rc5-fixes-take2

for you to fetch changes up to f01af3022d4a46362c5dda3d35dea939f3246d10:

  pwm: stm32: Fix error message to not describe the previous error path (2024-06-22 16:13:19 +0200)

I already sent a PR for a very similar patch set yesterday. The only
difference compared to that is that now the 2nd patch fixes a corner
case that I missed. I spare you the details.

Please pull for 6.10-rc5.

Thanks
Uwe

----------------------------------------------------------------
pwm: Three fixes for the pwm-stm32 driver

The first patch prevents an integer wrap-around for small periods. In
the second patch the calculation of the prescaler is fixed which
resulted in values for the ARR register that don't fit into the
corresponding register bit field. The last commit improves an error
message that was wrongly copied from another error path.

----------------------------------------------------------------
Uwe Kleine-König (3):
      pwm: stm32: Refuse too small period requests
      pwm: stm32: Fix calculation of prescaler
      pwm: stm32: Fix error message to not describe the previous error path

 drivers/pwm/pwm-stm32.c | 23 ++++++++++++++++-------
 1 file changed, 16 insertions(+), 7 deletions(-)

Comments

pr-tracker-bot@kernel.org June 22, 2024, 3:21 p.m. UTC | #1
The pull request you sent on Sat, 22 Jun 2024 16:48:22 +0200:

> https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git tags/pwm/for-6.10-rc5-fixes-take2

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/1f5c537182f52ce2609d677b21a7c30ffa318d33

Thank you!