drivers: misc: Hysteresis support in fan est
authorAnshul Jain <anshulj@nvidia.com>
Sat, 22 Dec 2012 01:09:24 +0000 (17:09 -0800)
committerSimone Willett <swillett@nvidia.com>
Thu, 10 Jan 2013 02:27:03 +0000 (18:27 -0800)
commita3f396a68ecf540fa0c6b4c86babdc24c89bfd5b
treec0c8921127658c210ed71578b9cb7f658e92ca0d
parenta50c4412e2a4ef4e4e1b0f470a56bf46df570847
drivers: misc: Hysteresis support in fan est

This driver now can support hysteresis in trip
temps. It now allows different cdev states for
rising and falling trend in thermal framework.

Bug 1200196
Bug 1201225

Change-Id: I9559eefdb1f2313e1d06f8945fdc1b68f62c6934
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/#change,173927
(cherry picked from commit 44330da37f6c45a1215df26c10ef55fd0828b8fd)
Reviewed-on: http://git-master/r/173066
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
drivers/misc/therm_fan_est.c
include/linux/therm_est.h