forked from luck/tmp_suning_uos_patched
9f4fffc2ab
commit 51593106b608ae4247cc8da928813347da16d025 upstream.
All four scaling coefficients can take signed values.
Make tmp a signed 64-bit integer and switch to div_s64() to preserve
signs during 64-bit divisions.
Fixes:
|
||
---|---|---|
.. | ||
iio-rescale.c | ||
Kconfig | ||
Makefile |