mbox series

[v3,0/3] meson pwm small fixes

Message ID 20240425171253.2752877-1-gnstark@salutedevices.com (mailing list archive)
Headers show
Series meson pwm small fixes | expand

Message

George Stark April 25, 2024, 5:12 p.m. UTC
Just some small fixes for meson pwm.

Changelog:
v1->v2:
  pwm: meson: Drop unneeded check in .get_state()
    - update commit message
    - drop Fixes tag. It's not actually a bug
    previous version: [1]

  pwm: meson: Add check for error from clk_round_rate()
    - update commit message
    - change unsigned long fin_freq; to long fin_freq;
    previous version: [2]

v2->v3:
  pwm: meson: Add check for error from clk_round_rate()
    - change format modifier in dev_dbg() for fin_freq var to %lu
    previous version: [3]

  pwm: meson: Use mul_u64_u64_div_u64() for frequency calculating
    new patch

[1] https://lore.kernel.org/lkml/20240423161356.2522636-2-gnstark@salutedevices.com/T/#m6d1d5cf100dc5b77f85e2a7d01c0b0097b6a04da
[2] https://lore.kernel.org/lkml/20240423161356.2522636-2-gnstark@salutedevices.com/T/#ma84e2d490bf79bda12f8393773c1af37b48d5473
[3] https://lore.kernel.org/linux-arm-kernel/20240424132408.2565916-1-gnstark@salutedevices.com/T/#m52b7e5a34c3e8907235d73c2827b92cb13c93dd3

George Stark (3):
  pwm: meson: Drop unneeded check in .get_state()
  pwm: meson: Add check for error from clk_round_rate()
  pwm: meson: Use mul_u64_u64_div_u64() for frequency calculating

 drivers/pwm/pwm-meson.c | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

--
2.25.1

Comments

Uwe Kleine-König April 28, 2024, 8:55 p.m. UTC | #1
Hello,

On Thu, Apr 25, 2024 at 08:12:50PM +0300, George Stark wrote:
> Just some small fixes for meson pwm.

Applied the series to
https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git pwm/for-next
.

Thanks
Uwe