]> git.karo-electronics.de Git - linux-beck.git/commit
i2c: mediatek: fix i2c multi transfer issue in high speed mode
authorLiguo Zhang <liguo.zhang@mediatek.com>
Tue, 15 Dec 2015 07:22:26 +0000 (15:22 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Sun, 3 Jan 2016 18:38:22 +0000 (19:38 +0100)
commit8378d01f60a95d9205c6da47cb0cd2a594f7e07f
treee1697e1f5732be4bb47263406cff8713cc0c7bef
parente8e712916ceade419ab52900917ed568c7b3ec26
i2c: mediatek: fix i2c multi transfer issue in high speed mode

For mt8173 platform with auto restart support, when doing i2c multi
transfer in high speed, we should ignore the first restart irq after
the master code, otherwise the first transfer will be discarded.

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>
drivers/i2c/busses/i2c-mt65xx.c