05bed1c663
Add type cast to prevent overflow. In the pwm driver function pwm_qmsi_get_cycles_per_sec(), there is a multiplication which takes ticks_per_us (32 bit unsigned integer) and USEC_PER_SEC. Practically, overflow will not happen, since the sys clock is not that high. But, it can trigger an overflow alarm by automatic tools. Change-Id: I67e6f6a4763e62f6674fcdd364880d93829e739e Signed-off-by: Baohong Liu <baohong.liu@intel.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Kconfig.dw | ||
Kconfig.k64 | ||
Kconfig.pca9685 | ||
Kconfig.qmsi | ||
Makefile | ||
pwm_dw.c | ||
pwm_k64_ftm.c | ||
pwm_k64_ftm.h | ||
pwm_pca9685.c | ||
pwm_pca9685.h | ||
pwm_qmsi.c |