On Fri, Oct 20, 2017 at 02:51:07PM +0000, Zhi, Yong wrote:
> > > +                 /* flip table to for convolution reverse indexing */
> > > +                 s64 coeff =  coeffs[coeffs_size -
> > > +                                         ((tap * (coeffs_size / taps)) +
> > > +                                         phase) - 1];
> > > +                 coeff *= mantissa;
> > > +                 coeff /= input_width;
> > 
> > Please use do_div() so this will compile on 32-bit machines.
> > 
> 
> Thanks, above was implemented in v4.

Yeah, I noticed that later. I accidentally reviewed an older version. ;)

-- 
Sakari Ailus
e-mail: sakari.ai...@iki.fi

Reply via email to