commit | 40220ba4c08f2edf6423afb60815217a9fefa1fb | [log] [tgz] |
---|---|---|
author | Eduardo Valentin <eduardo.valentin@ti.com> | Tue Aug 20 14:50:00 2013 -0400 |
committer | Eduardo Valentin <eduardo.valentin@ti.com> | Tue Aug 20 14:51:33 2013 -0400 |
tree | 831c1f4970f77f337ce33c0c899653d6c7dbe89e | |
parent | ef8191cc5de2f1ac80338c32242576c5612141ff [diff] |
drivers: thermal: ti-soc-thermal: fix trend computation When interval delay is programmed to be 0, the trend will not be computed. This patch changes the driver to use simple difference, assuming interval of 1ms. Reported-by: Ranganath Krishnan <ranganath@ti.com> Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>