Files
android_kernel_xiaomi_sm8450/drivers/pwm
Thierry Reding 6db78b201b pwm: tegra: Avoid potential overflow for short periods
For very short periods, the result of the division might overflow the
unsigned long hz variable (on 32-bit architectures). Avoid that by
making it an unsigned long long. While at it, also remove an unneeded
local variable whose only purpose is to store a temporary computation.

Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
2017-04-13 17:34:54 +02:00
..
2017-04-06 17:45:04 +02:00
2017-04-06 17:45:04 +02:00
2017-04-06 17:45:03 +02:00
2017-01-19 00:38:17 +01:00
2017-04-06 17:45:04 +02:00
2017-01-19 00:38:17 +01:00
2017-01-25 16:11:55 +00:00
2017-01-19 00:38:17 +01:00
2016-11-29 16:43:24 +01:00