diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2016-05-23 04:27:56 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-05-23 04:27:56 -0700 |
commit | 6f068cedf9665df4e2ed63dfbad76bb1da4da409 (patch) | |
tree | 0efbfc53e6948eb9e64bb1f1350c269eee434cd4 | |
parent | 2106b2a7f0671108ff74f635ba51cadaa6fc0dfa (diff) | |
parent | 5e37cc98f6914f8bd1db3f499422e641821d485c (diff) | |
download | android_hardware_qcom_display-6f068cedf9665df4e2ed63dfbad76bb1da4da409.tar.gz android_hardware_qcom_display-6f068cedf9665df4e2ed63dfbad76bb1da4da409.tar.bz2 android_hardware_qcom_display-6f068cedf9665df4e2ed63dfbad76bb1da4da409.zip |
Merge "hwc: Initialize pipe type to kPipeTypeUnused" into dev-2.0
-rw-r--r-- | sdm/libs/core/fb/hw_info.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sdm/libs/core/fb/hw_info.cpp b/sdm/libs/core/fb/hw_info.cpp index c66a28bc2..0f34d9d8d 100644 --- a/sdm/libs/core/fb/hw_info.cpp +++ b/sdm/libs/core/fb/hw_info.cpp @@ -252,6 +252,7 @@ DisplayError HWInfo::GetHWResourceInfo(HWResourceInfo *hw_resource) { read = Sys::getline_(&line, &len, fileptr); if (!ParseString(line, tokens, max_count, ": =\n", &token_count)) { HWPipeCaps pipe_caps; + pipe_caps.type = kPipeTypeUnused; for (uint32_t j = 0; j < token_count; j += 2) { if (!strncmp(tokens[j], "pipe_type", strlen("pipe_type"))) { if (!strncmp(tokens[j+1], "vig", strlen("vig"))) { |