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

Commit 33b3e907 authored by Nathan Chancellor's avatar Nathan Chancellor Committed by Razziell
Browse files

msm: mdss: Remove unnecessary parentheses

parent 483b45a1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -164,7 +164,7 @@ void mdss_check_dsi_ctrl_status(struct work_struct *work, uint32_t interval)
	if ((mipi->mode == DSI_CMD_MODE) && !ctrl_pdata->burst_mode_enabled)
		mutex_unlock(&mdp5_data->ov_lock);

	if ((pstatus_data->mfd->panel_power_state == MDSS_PANEL_POWER_ON)) {
	if (pstatus_data->mfd->panel_power_state == MDSS_PANEL_POWER_ON) {
		if (ret > 0)
			schedule_delayed_work(&pstatus_data->check_status,
				msecs_to_jiffies(interval));
+1 −1
Original line number Diff line number Diff line
@@ -6652,7 +6652,7 @@ static int is_valid_calib_dspp_addr(char __iomem *ptr)
			ret = MDP_PP_OPS_READ | MDP_PP_OPS_WRITE;
			break;
		/* Dither enable/disable */
		} else if ((ptr == base + MDSS_MDP_REG_DSPP_DITHER_DEPTH)) {
		} else if (ptr == base + MDSS_MDP_REG_DSPP_DITHER_DEPTH) {
			ret = MDP_PP_OPS_READ | MDP_PP_OPS_WRITE;
			break;
		/* Six zone and mem color */