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

Commit c231c2da authored by Steve Cohen's avatar Steve Cohen
Browse files

disp: msm: sde: check correct field for XIN idle status



Current code is checking the HALT_ACK instead of HALT_IDLE
fields which leads to unnecessarily issuing halt requests
on ports that are already idle.

Change-Id: I2269ce6364dab3bb8a52a0fb1b1e68e9b92b6444
Signed-off-by: default avatarSteve Cohen <cohens@codeaurora.org>
parent 3313dedb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,