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

Commit 6284b08f authored by Sandeep Panda's avatar Sandeep Panda Committed by Gerrit - the friendly Code Review server
Browse files

drm/msm/dsi-staging: tie up dsi irq control to core clock



This change ties up the dsi irq line disable/enable control
to core clock disable/enable sequence.

Change-Id: I2c59799dbd7efd1ca35e996057370bc9b6956cf5
Signed-off-by: default avatarSandeep Panda <spanda@codeaurora.org>
parent 85ec035e
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -2995,9 +2995,6 @@ int dsi_post_clkon_cb(void *priv,
				__func__, rc);
			goto error;
		}

		/* enable dsi to serve irqs */
		dsi_display_ctrl_irq_update(display, true);
	}

	if ((clk & DSI_LINK_CLK) && (l_type & DSI_LINK_HS_CLK)) {
@@ -3019,6 +3016,11 @@ int dsi_post_clkon_cb(void *priv,
			}
		}
	}

	/* enable dsi to serve irqs */
	if (clk & DSI_CORE_CLK)
		dsi_display_ctrl_irq_update(display, true);

error:
	return rc;
}