瀏覽代碼

Merge "disp: msm: sde: check correct field for XIN idle status" into display-kernel.lnx.5.4

Linux Build Service Account 5 年之前
父節點
當前提交
0a36198742
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      msm/sde/sde_hw_vbif.c

+ 2 - 2
msm/sde/sde_hw_vbif.c

@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0-only
 /*
- * Copyright (c) 2015-2019, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2015-2020, The Linux Foundation. All rights reserved.
  */
 
 #include "sde_hwio.h"
@@ -178,7 +178,7 @@ static bool sde_hw_get_halt_ctrl(struct sde_hw_vbif *vbif,
 
 	reg_val = SDE_REG_READ(c, VBIF_XIN_HALT_CTRL1);
 
-	return (reg_val & BIT(xin_id)) ? true : false;
+	return ((reg_val >> 16) & BIT(xin_id)) ? true : false;
 }
 
 static void sde_hw_set_qos_remap(struct sde_hw_vbif *vbif,