commit | 49a1a79e8d5c5128818f3defb23c4e5081ce5289 | [log] [tgz] |
---|---|---|
author | Lijuan Gao <lijuang@codeaurora.org> | Wed Oct 22 11:19:37 2014 +0800 |
committer | Lijuan Gao <lijuang@codeaurora.org> | Thu Oct 30 13:34:08 2014 +0800 |
tree | 9b98e4355abb32ff4a71847467dc1ef382b84b8a | |
parent | 7dbf821b915f9082eb54b65d01758bf59d163381 [diff] [blame] |
platform: msm_shared: fix the bug of array overflow Fix the array 'lpfr_lut' overflow bug in lk Change-Id: I4c15cdcf08ac073264c5a7385914fe544f8a7e0b
diff --git a/platform/msm_shared/mipi_dsi_autopll.c b/platform/msm_shared/mipi_dsi_autopll.c index 9e7ee60..b5d386f 100755 --- a/platform/msm_shared/mipi_dsi_autopll.c +++ b/platform/msm_shared/mipi_dsi_autopll.c
@@ -98,7 +98,7 @@ break; if (i == LPFR_LUT_SIZE) { dprintf(INFO, "unable to get loop filter resistance. vco=%d\n" - , lpfr_lut[i].vco_rate); + , lpfr_lut[i-1].vco_rate); rc = ERROR; return rc; }