]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - drivers/pwm/pwm-iqs620a.c
pwm: iqs620a: Use 64-bit division
authorThierry Reding <thierry.reding@gmail.com>
Mon, 15 Jun 2020 14:08:28 +0000 (16:08 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 17 Jun 2020 18:42:09 +0000 (20:42 +0200)
commit5bc5d99f1f836858820ad8e9a412bb103bb0d88b
treeb438d6b38415f035a6b2ae3bc5e3296104dd77f8
parent1689dcd433aaa0d32dec3fdb4bd166a0d38f4bbf
pwm: iqs620a: Use 64-bit division

The PWM framework is going to change the PWM period and duty cycles to
be 64-bit unsigned integers. To avoid build errors on platforms that do
not natively support 64-bit division, use explicity 64-bit division.

Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-iqs620a.c