i2c: mediatek: disable zero-length transfers for mt8183
Quoting from mt8183 datasheet, the number of transfers to be transferred in one transaction should be set to bigger than 1, so we should forbid zero-length transfer and update functionality. Reported-by: NAlexandru M Stan <amstan@chromium.org> Signed-off-by: NHsin-Yi Wang <hsinyi@chromium.org> Reviewed-by: NQii Wang <qii.wang@mediatek.com> [wsa: shortened commit message a little] Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
Showing
想要评论请 注册 或 登录