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

Commit c1263308 authored by Yuchao Ma's avatar Yuchao Ma Committed by Gerrit - the friendly Code Review server
Browse files

drm: msm: Reset register when NoiseThresh disabled



The change reset register of noise thresh when disabled.

Change-Id: I2bb13167b52c6ba92e32c4fa9b4f0a57122164ab
Signed-off-by: default avatarYuchao Ma <yuchaom@codeaurora.org>
parent 7d396c0c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -283,7 +283,8 @@ void sde_setup_dspp_ltm_threshv1(struct sde_hw_dspp *ctx, void *cfg)
	}

	if (!hw_cfg->payload) {
		DRM_ERROR("invalid payload parameters for ltm thresh param\n");
		DRM_DEBUG_DRIVER("Disable LTM noise thresh feature\n");
		SDE_REG_WRITE(&ctx->hw, ctx->cap->sblk->ltm.base + 0x60, 0);
		return;
	}