OpenCloudOS-Kernel/drivers/staging/omap-thermal
Radhesh Fadnis 463bf503bd staging: omap-thermal: bandgap: fix setting of alert thresholds
There was an error in check for the valid temperature in
function temp_to_adc_conversion. The temperature value was
compared with higher limit for less than condition as well,
resulting in returning -EINVAL. Corrected the check condition
to properly check for lower and higher temperature limits.

Signed-off-by: Radhesh Fadnis <radhesh.fadnis@ti.com>
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-09-21 08:56:40 -07:00
..
Kconfig staging: omap-thermal: add OMAP5 data structures 2012-07-16 19:04:16 -07:00
Makefile staging: omap-thermal: add OMAP5 data structures 2012-07-16 19:04:16 -07:00
TODO
omap-bandgap.c staging: omap-thermal: bandgap: fix setting of alert thresholds 2012-09-21 08:56:40 -07:00
omap-bandgap.h staging: omap-thermal: add OMAP5 data structures 2012-07-16 19:04:16 -07:00
omap-thermal-common.c staging: omap-thermal: improve conf data handling and initialization 2012-09-11 12:14:16 -07:00
omap-thermal.h staging: omap-thermal: common code to expose driver to thermal framework 2012-07-16 19:03:43 -07:00
omap4-thermal.c staging: omap-thermal: remove checkpatch.pl warnings on data files 2012-09-11 12:14:16 -07:00
omap5-thermal.c staging: omap-thermal: remove checkpatch.pl warnings on data files 2012-09-11 12:14:16 -07:00
omap_bandgap.txt