diff options
author | Pullakavi Srinivas <spullaka@codeaurora.org> | 2017-12-14 19:40:21 +0530 |
---|---|---|
committer | Pullakavi Srinivas <spullaka@codeaurora.org> | 2018-01-19 12:05:48 +0530 |
commit | 92d1b82fe8bae69779333e1501c096e71e4b6cd0 (patch) | |
tree | 7854999dd92aa43b575b1f5611161a4182089b36 /sdm/libs/core/fb/hw_device.cpp | |
parent | 07254304fa7f457e1ba76105676e0a25027aa4be (diff) | |
download | display-92d1b82fe8bae69779333e1501c096e71e4b6cd0.tar.gz |
sdm: Close stored retire fence on display deinit
CRs-Fixed: 2161136
Change-Id: I27a4fc7cdac226fcae095f90bdb09f9b6e9a9162
Diffstat (limited to 'sdm/libs/core/fb/hw_device.cpp')
-rw-r--r-- | sdm/libs/core/fb/hw_device.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sdm/libs/core/fb/hw_device.cpp b/sdm/libs/core/fb/hw_device.cpp index 38e57d85..2c529ae0 100644 --- a/sdm/libs/core/fb/hw_device.cpp +++ b/sdm/libs/core/fb/hw_device.cpp @@ -116,6 +116,10 @@ DisplayError HWDevice::Deinit() { device_fd_ = -1; } + if (stored_retire_fence >= 0) { + Sys::close_(stored_retire_fence); + stored_retire_fence = -1; + } return kErrorNone; } |