On Fri, 18 Nov 2022 14:29:23 +0100 Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx> wrote: > On 18/11/2022 14.17, Sa, Nuno wrote: > > >> Casting to int avoids that promotion and results in the correct -32767 > >> output. > >> > >> Signed-off-by: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx> > >> --- > > > > After adding proper Fixes: tag, > > > > Reviewed-by: Nuno Sá <nuno.sa@xxxxxxxxxx> > > That would be > > Fixes: fea251b6a5db (iio: addac: add AD74413R driver) > Applied to the togreg branch of iio.git (as very late in cycle) and marked for stable. Thanks, Jonathan > Thanks, > Rasmus >