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

Commit c84e4d88 authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

hwmon: qti_amoled_ecm: Fix initial value for ECM_WRITE_TO_SDAM



Whenever ECM is enabled by the user, some SDAM registers are
initialized for the proper operation. Change the initial value
for ECM_WRITE_TO_SDAM as per the hardware recommendation.

Change-Id: I7a414bb83640178055f3c5a463daa6328aaef69c
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent 122f4cad
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -183,7 +183,7 @@ static struct amoled_ecm_sdam_config ecm_reset_config[] = {
	{ ECM_MODE,		0x00 },
	/* Valid only when ECM uses 2 SDAMs */
	{ ECM_SEND_IRQ,		0x03 },
	{ ECM_WRITE_TO_SDAM,	0x33 }
	{ ECM_WRITE_TO_SDAM,	0x03 }
};

static int ecm_reset_sdam_config(struct amoled_ecm *ecm)