[PATCH] pwm: pwm-meson: remove not needed check in meson_pwm_calc
Uwe Kleine-König
u.kleine-koenig at pengutronix.de
Wed May 3 23:47:30 PDT 2023
Hello Heiner,
On Thu, May 04, 2023 at 07:35:55AM +0200, Heiner Kallweit wrote:
> duty <= period implies that duty_cnt <= cnt. We verified before
> that cnt <= 0xffff, therefore we can omit the check here.
>
> Suggested-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
> Signed-off-by: Heiner Kallweit <hkallweit1 at gmail.com>
> ---
> Note: Applies only after "pwm: pwm-meson: fix handling of period/duty if greater than UINT_MAX"
Do you know there is git magic to express this that (at least some of)
the build bots understand? Look at git format-patch's --base option.
Otherwise:
Reviewed-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
Thanks
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20230504/6f1180c2/attachment.sig>
More information about the linux-arm-kernel
mailing list