[COMMON] thermal: isp: Fix ISP_FPS_TABLE_END position
authorSoomin Kim <sm8326.kim@samsung.com>
Mon, 2 Jan 2017 03:31:18 +0000 (12:31 +0900)
committerChungwoo Park <cww.park@samsung.com>
Mon, 21 May 2018 08:18:08 +0000 (17:18 +0900)
Change-Id: I8c19b906c4ae89323225252439810743df852143
Signed-off-by: Soomin Kim <sm8326.kim@samsung.com>
drivers/thermal/isp_cooling.c

index b4523b59cbb9c28547403349af68048049639a9c..8e35ea32583533ba35e28b1157fb013201b60ab1 100644 (file)
@@ -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;