aboutsummaryrefslogtreecommitdiff
path: root/drivers/pcmcia/pxa2xx_stargate2.c
diff options
context:
space:
mode:
authorLiguo Zhang2015-11-09 13:43:58 +0800
committerWolfram Sang2015-12-01 01:55:45 +0100
commit173b77e8d8fe18e2792fa5dadebd2350f213abbe (patch)
tree2a158d30dcbe6d6eb54e2a79cec0e6c6ad027968 /drivers/pcmcia/pxa2xx_stargate2.c
parent948c58a03a4c63edc1007c222c340003fdba6d98 (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