[PATCH v3 0/3] meson pwm small fixes

George Stark gnstark at salutedevices.com
Thu Apr 25 10:12:50 PDT 2024


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




More information about the linux-amlogic mailing list