]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/thermal/rcar_gen3_thermal.c
Merge branch 'pipe-exclusive-wakeup'
[linux.git] / drivers / thermal / rcar_gen3_thermal.c
index 1460cf9d9f1c397b7c3022431fa76de86cf45a7f..72877bdc072daaed5ce919f845fa70232ff46f1c 100644 (file)
@@ -182,9 +182,7 @@ static int rcar_gen3_thermal_get_temp(void *devdata, int *temp)
                                tsc->coef.a2);
        mcelsius = FIXPT_TO_MCELSIUS(val);
 
-       /* Make sure we are inside specifications */
-       if ((mcelsius < MCELSIUS(-40)) || (mcelsius > MCELSIUS(125)))
-               return -EIO;
+       /* Guaranteed operating range is -40C to 125C. */
 
        /* Round value to device granularity setting */
        *temp = rcar_gen3_thermal_round(mcelsius);