diff options
| author | David Collins <collinsd@codeaurora.org> | 2016-09-13 11:47:23 -0700 |
|---|---|---|
| committer | David Collins <collinsd@codeaurora.org> | 2016-09-13 11:53:18 -0700 |
| commit | 14d435eaf2a5ede029635695b5fe3677c2666c71 (patch) | |
| tree | c17ec792f4e62c0e507d37cacabc4049dfe2990c /tools/perf/scripts/python | |
| parent | 9c8924dbaadbb194f6d0bf30fa7fafde20ec096c (diff) | |
regulator: cpr3-regulator: fix potential aging uninitialized variable usage
If cpr3_ctrl_clear_cpr4_config() returns an error at the
beginning of the cpr3_regulator_measure_aging() function, then
goto cleanup is called. After that, the *_restore values are
written back into hardware registers. Unfortunately, these
*_restore variables are uninitialized in this code path.
Correct this issue.
Change-Id: I906613a00137925c9903ac6c01771c459594864f
CRs-Fixed: 1066407
Signed-off-by: David Collins <collinsd@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
