diff options
author | Peng Fan <peng.fan@nxp.com> | 2017-04-18 20:41:53 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2017-05-11 12:32:50 +0200 |
commit | a267d3accd98fe246df72d6f36922ba146b437d4 (patch) | |
tree | 962c27acd5acb2a828cdacc50a79354083863212 /include/configs/T4240QDS.h | |
parent | 52c2e165c480ef48a424f3ccf397ed67c97d6836 (diff) |
thermal: imx: fix calculation
Fix calculation. do_div can not handle negative values.
Use div_s64_rem to handle the calculation.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'include/configs/T4240QDS.h')
0 files changed, 0 insertions, 0 deletions