drivers: pwm: Fix wrong dc calculation for pwm tests
Values used in tests/drivers/pwm/pwm_api overflows calculation inside
xec_compute_dc(). Make calculation to be done in u64_t and then
convert to int.
Signed-off-by:
Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Loading
Please sign in to comment