Re: [PATCH RFC 2/6] pwm: core: Add option to config PWM duty/period with u64 data length

Martin Botka
2020-07-25T15:31:37Z

> +#include <linux/math64.h>
> - gain_q23 = (gain_q23 * dmic->boost_gain) / 100;
> + gain_q23 = div_u64(gain_q23 * dmic->boost_gain, 100);

Ok so using a macro.

Thank you.