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

Commit c833fd79 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

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

parents 8a9b7675 45c5575e
Loading
Loading
Loading
Loading
+1 −8
Original line number 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)
{
	struct sde_crtc *sde_crtc;

	if (!crtc)
		return false;

	sde_crtc = to_sde_crtc(crtc);

	return sde_crtc->enabled;
	return crtc ? crtc->enabled : false;
}

/**