[PATCH 1/1] staging: omap-thermal: bandgap: fix setting of alert thresholds

2012-09-19 Thread Eduardo Valentin
From: Radhesh Fadnis 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

[PATCH 1/1] staging: omap-thermal: bandgap: fix setting of alert thresholds

2012-09-19 Thread Eduardo Valentin
From: Radhesh Fadnis radhesh.fad...@ti.com 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