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:
parent
122f4cad33
commit
c84e4d88c3
@ -183,7 +183,7 @@ static struct amoled_ecm_sdam_config ecm_reset_config[] = {
|
|||||||
{ ECM_MODE, 0x00 },
|
{ ECM_MODE, 0x00 },
|
||||||
/* Valid only when ECM uses 2 SDAMs */
|
/* Valid only when ECM uses 2 SDAMs */
|
||||||
{ ECM_SEND_IRQ, 0x03 },
|
{ ECM_SEND_IRQ, 0x03 },
|
||||||
{ ECM_WRITE_TO_SDAM, 0x33 }
|
{ ECM_WRITE_TO_SDAM, 0x03 }
|
||||||
};
|
};
|
||||||
|
|
||||||
static int ecm_reset_sdam_config(struct amoled_ecm *ecm)
|
static int ecm_reset_sdam_config(struct amoled_ecm *ecm)
|
||||||
|
Loading…
Reference in New Issue
Block a user