mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
The APIs read_vin_cal_slope_intercept_fuse() and read_vin_cal_gain_offset_fuse() where prototyped for u32 return types, but they were actually returning negative errno's for errors. Change the return type to int so the errors can be checked properly. clk_vin.c still stores the return values as u32's. This will be fixed in a future patch. JIRA NVGPU-938 Change-Id: I4fc47468dcf39f923c4f302919c705b50e10f446 Signed-off-by: Philip Elcan <pelcan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1943383 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>