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:
HaiLong Yang 2023-12-20 09:39:58 +08:00 committed by Carles Cufí
parent 2a0e5e93f3
commit 08cd5eb91d

View file

@ -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;
}