drivers: display: update otm8009a config
OTM8009A_MCS_NO_DOC2(0xCFD0U) only write buf[0], but write length set to 3. Signed-off-by: HaiLong Yang <hailong.yang@brainco.cn>
This commit is contained in:
parent
2a0e5e93f3
commit
08cd5eb91d
|
@ -324,7 +324,7 @@ static int otm8009a_configure(const struct device *dev)
|
|||
|
||||
/* not documented */
|
||||
buf[0] = 0x00;
|
||||
ret = otm8009a_mcs_write(dev, OTM8009A_MCS_NO_DOC2, buf, 3);
|
||||
ret = otm8009a_mcs_write(dev, OTM8009A_MCS_NO_DOC2, buf, 1);
|
||||
if (ret < 0) {
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue