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: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
This commit is contained in:
Subbaraman Narayanamurthy 2020-09-09 20:19:37 -07:00
parent 122f4cad33
commit c84e4d88c3

View File

@ -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)