[RAMEN9610-9418][COMMON] soc: cpupm: Prevent bug fix.
authorSoohyun Kim <soohyuni.kim@samsung.com>
Fri, 16 Nov 2018 05:43:17 +0000 (14:43 +0900)
committerhskang <hs1218.kang@samsung.com>
Thu, 13 Dec 2018 11:41:51 +0000 (20:41 +0900)
commit49871b71520f9de0ba0b6e9153827b65d7d23297
tree162e73e1988bdc359edd5e20bf95e0175d0ff83d
parent668e54f1a15a4c07cad90c656bfeac8c2fc27454
[RAMEN9610-9418][COMMON] soc: cpupm: Prevent bug fix.

This patch can prevent out-of-bound case when access pm->modes[i].

Change-Id: I6770fed95af0541426356b804b8c9f8ae43bbea2
Signed-off-by: Soohyun Kim <soohyuni.kim@samsung.com>
drivers/soc/samsung/exynos-cpupm.c