Re: [PATCH 4/5] gpio: mvebu: don't limit pwm period/duty_cycle to UINT_MAX
From: Uwe Kleine-König <hidden>
Date: 2021-01-11 20:21:52
Also in:
linux-gpio, linux-pwm
From: Uwe Kleine-König <hidden>
Date: 2021-01-11 20:21:52
Also in:
linux-gpio, linux-pwm
On Mon, Jan 11, 2021 at 01:17:05PM +0200, Baruch Siach wrote:
PWM on/off registers are limited to UINT_MAX. However the state period and duty_cycle fields are ns values of type u64. There is no reason to limit them to UINT_MAX. Reported-by: Uwe Kleine-König <redacted> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Uwe Kleine-König <redacted> Thanks Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ |