diff options
author | Liguo Zhang <liguo.zhang@mediatek.com> | 2015-11-09 05:43:58 (GMT) |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-12-01 00:55:45 (GMT) |
commit | 173b77e8d8fe18e2792fa5dadebd2350f213abbe (patch) | |
tree | 2a158d30dcbe6d6eb54e2a79cec0e6c6ad027968 /Documentation | |
parent | 948c58a03a4c63edc1007c222c340003fdba6d98 (diff) | |
download | linux-173b77e8d8fe18e2792fa5dadebd2350f213abbe.tar.xz |
i2c: mediatek: add i2c first write then read optimization
For platform with auto restart support, between every transfer,
i2c controller will trigger an interrupt and SW need to handle
it to start new transfer. When doing write-then-read transfer,
instead of restart mechanism, using WRRD mode to have controller
send both transfer in one request to reduce latency.
Signed-off-by: Liguo Zhang <liguo.zhang@mediatek.com>
Reviewed-by: Eddie Huang <eddie.huang@mediatek.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions