summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/nvgpu/gp106/therm_gp106.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp106/therm_gp106.c b/drivers/gpu/nvgpu/gp106/therm_gp106.c
index ab5563cc..64d602cf 100644
--- a/drivers/gpu/nvgpu/gp106/therm_gp106.c
+++ b/drivers/gpu/nvgpu/gp106/therm_gp106.c
@@ -35,7 +35,7 @@
35void gp106_get_internal_sensor_limits(s32 *max_24_8, s32 *min_24_8) 35void gp106_get_internal_sensor_limits(s32 *max_24_8, s32 *min_24_8)
36{ 36{
37 *max_24_8 = (0x87 << 8); 37 *max_24_8 = (0x87 << 8);
38 *min_24_8 = ((-216) << 8); 38 *min_24_8 = (((u32)-216) << 8);
39} 39}
40 40
41int gp106_get_internal_sensor_curr_temp(struct gk20a *g, u32 *temp_f24_8) 41int gp106_get_internal_sensor_curr_temp(struct gk20a *g, u32 *temp_f24_8)