commit | abf4923e97c3abbbd1e59f0e13c7c214c93c6aaa | [log] [tgz] |
---|---|---|
author | Hsin-Yi Wang <hsinyi@chromium.org> | Thu Aug 22 17:45:17 2019 +0800 |
committer | Wolfram Sang <wsa@the-dreams.de> | Fri Aug 30 15:06:17 2019 +0200 |
tree | 5ac8f53cec3b930d635647eac147c0abd1059969 | |
parent | b3d604d405166edfd4e1e6053409b85008f4f56d [diff] |
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: Alexandru M Stan <amstan@chromium.org> Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org> Reviewed-by: Qii Wang <qii.wang@mediatek.com> [wsa: shortened commit message a little] Signed-off-by: Wolfram Sang <wsa@the-dreams.de>