From 868612e215fe687892c19192f098b4aa84d9497d Mon Sep 17 00:00:00 2001 From: Soomin Kim Date: Mon, 2 Jan 2017 12:31:18 +0900 Subject: [PATCH] [COMMON] thermal: isp: Fix ISP_FPS_TABLE_END position Change-Id: I8c19b906c4ae89323225252439810743df852143 Signed-off-by: Soomin Kim --- drivers/thermal/isp_cooling.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1