Merge tag 'LA.UM.9.12.r1-13800-SMxx50.0' of https://gitlab.com/codeaurora-mirror/quic/la/platform/hardware/qcom/display into lineage-20.0-caf-sm8250

"LA.UM.9.12.r1-13800-SMxx50.0"

# By lliu6
# Via Linux Build Service Account (1) and lliu6 (1)
* tag 'LA.UM.9.12.r1-13800-SMxx50.0' of https://gitlab.com/codeaurora-mirror/quic/la/platform/hardware/qcom/display:
  sdm: Clear cached panel brightness settings

Change-Id: I7a8d63a269d3ff9970a166d3f996500076655c37
diff --git a/sdm/libs/core/display_builtin.cpp b/sdm/libs/core/display_builtin.cpp
index b4628aa..75a5046 100644
--- a/sdm/libs/core/display_builtin.cpp
+++ b/sdm/libs/core/display_builtin.cpp
@@ -565,6 +565,7 @@
   DisplayError err = hw_intf_->SetPanelBrightness(level);
   if (err == kErrorNone) {
     level_remainder_ = level_remainder;
+    pending_brightness_ = false;
     DLOGI_IF(kTagDisplay, "Setting brightness to level %d (%f percent)", level,
              brightness * 100);
   } else if (err == kErrorDeferred) {