diff options
Diffstat (limited to 'drivers/gpu/nvgpu/clk')
-rw-r--r-- | drivers/gpu/nvgpu/clk/clk_vin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/clk/clk_vin.c b/drivers/gpu/nvgpu/clk/clk_vin.c index 67eeffd5..d57522af 100644 --- a/drivers/gpu/nvgpu/clk/clk_vin.c +++ b/drivers/gpu/nvgpu/clk/clk_vin.c | |||
@@ -102,8 +102,8 @@ u32 clk_avfs_get_vin_cal_fuse_v20(struct gk20a *g, | |||
102 | if (pvinobjs->calibration_rev_vbios == g->ops.fuse.read_vin_cal_fuse_rev(g)) { | 102 | if (pvinobjs->calibration_rev_vbios == g->ops.fuse.read_vin_cal_fuse_rev(g)) { |
103 | BOARDOBJGRP_FOR_EACH(&(pvinobjs->super.super), | 103 | BOARDOBJGRP_FOR_EACH(&(pvinobjs->super.super), |
104 | struct vin_device_v20 *, pvindev, i) { | 104 | struct vin_device_v20 *, pvindev, i) { |
105 | gain = 0; | 105 | gain = '\0'; |
106 | offset = 0; | 106 | offset = '\0'; |
107 | pvindev = (struct vin_device_v20 *)CLK_GET_VIN_DEVICE(pvinobjs, i); | 107 | pvindev = (struct vin_device_v20 *)CLK_GET_VIN_DEVICE(pvinobjs, i); |
108 | status = g->ops.fuse.read_vin_cal_gain_offset_fuse(g, | 108 | status = g->ops.fuse.read_vin_cal_gain_offset_fuse(g, |
109 | pvindev->super.id, &gain, &offset); | 109 | pvindev->super.id, &gain, &offset); |
@@ -268,7 +268,7 @@ static u32 devinit_get_vin_device_table(struct gk20a *g, | |||
268 | u8 *vin_tbl_entry_ptr = NULL; | 268 | u8 *vin_tbl_entry_ptr = NULL; |
269 | u32 index = 0; | 269 | u32 index = 0; |
270 | u32 slope=0, intercept=0; | 270 | u32 slope=0, intercept=0; |
271 | s8 offset=0, gain=0; | 271 | s8 offset='\0', gain='\0'; |
272 | struct vin_device *pvin_dev; | 272 | struct vin_device *pvin_dev; |
273 | u32 cal_type; | 273 | u32 cal_type; |
274 | 274 | ||