diff options
author | Liguo Zhang | 2015-11-09 13:43:58 +0800 |
---|---|---|
committer | Wolfram Sang | 2015-12-01 01:55:45 +0100 |
commit | 173b77e8d8fe18e2792fa5dadebd2350f213abbe (patch) | |
tree | 2a158d30dcbe6d6eb54e2a79cec0e6c6ad027968 /drivers/pcmcia/pxa2xx_stargate2.c | |
parent | 948c58a03a4c63edc1007c222c340003fdba6d98 (diff) |
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 'drivers/pcmcia/pxa2xx_stargate2.c')
0 files changed, 0 insertions, 0 deletions