Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9562ae49 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mdss: Fix MISR register offset calculation for 8939"

parents 77bc423a 426a6979
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -699,8 +699,12 @@ static inline struct mdss_mdp_misr_map *mdss_misr_get_map(u32 block_id,
				value_reg = intf_base +
					MDSS_MDP_INTF_MISR_SIGNATURE;
			}
			/* For msm8916, additional offset of 0x10 is required */
			if (mdata->mdp_rev == MDSS_MDP_HW_REV_106) {
			/*
			 * For msm8916/8939, additional offset of 0x10
			 * is required
			 */
			if ((mdata->mdp_rev == MDSS_MDP_HW_REV_106) ||
				(mdata->mdp_rev == MDSS_MDP_HW_REV_108)) {
				ctrl_reg += 0x10;
				value_reg += 0x10;
			}