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

Commit 45c5575e authored by Abhijith Desai's avatar Abhijith Desai
Browse files

Revert "drm/msm/sde: fix crtc enable check"



This reverts commit ba47ee1c.

Change-Id: Ie16aacdb85e0a817730e9bf349925e905a8a0023
Signed-off-by: default avatarAbhijith Desai <desaia@codeaurora.org>
parent 01cea546
Loading
Loading
Loading
Loading
+1 −8
Original line number Original line Diff line number Diff line
@@ -646,14 +646,7 @@ static inline enum sde_crtc_client_type sde_crtc_get_client_type(
 */
 */
static inline bool sde_crtc_is_enabled(struct drm_crtc *crtc)
static inline bool sde_crtc_is_enabled(struct drm_crtc *crtc)
{
{
	struct sde_crtc *sde_crtc;
	return crtc ? crtc->enabled : false;

	if (!crtc)
		return false;

	sde_crtc = to_sde_crtc(crtc);

	return sde_crtc->enabled;
}
}


/**
/**