From: Soomin Kim Date: Mon, 2 Jan 2017 03:31:18 +0000 (+0900) Subject: [COMMON] thermal: isp: Fix ISP_FPS_TABLE_END position X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=868612e215fe687892c19192f098b4aa84d9497d;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] thermal: isp: Fix ISP_FPS_TABLE_END position Change-Id: I8c19b906c4ae89323225252439810743df852143 Signed-off-by: Soomin Kim --- diff --git a/drivers/thermal/isp_cooling.c b/drivers/thermal/isp_cooling.c index b4523b59cbb9..8e35ea325835 100644 --- a/drivers/thermal/isp_cooling.c +++ b/drivers/thermal/isp_cooling.c @@ -537,7 +537,7 @@ int isp_cooling_table_init(struct platform_device *pdev) } if (i == function->num_of_range) - isp_fps_table[count + 1].fps = ISP_FPS_TABLE_END; + isp_fps_table[count].fps = ISP_FPS_TABLE_END; } else return -EINVAL;