i2c: mediatek: add i2c resume support
authorLiguo Zhang <liguo.zhang@mediatek.com>
Tue, 6 Oct 2015 09:22:56 +0000 (17:22 +0800)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 23 Oct 2015 19:58:32 +0000 (21:58 +0200)
commit09027e08ac329eddd8f4a06ddcef8022eded6b87
tree756b0e2e3355d240497bc80d148d5e42c4497fde
parent1c4b6c3bcf30d0804db0d0647d8ebeb862c6f7e5
i2c: mediatek: add i2c resume support

mt65xx i2c controller initial setting will be cleared after system suspend,
so we should init mt65xx i2c controller again when system resume.

Signed-off-by: Liguo Zhang <liguo.zhang@mediatek.com>
Signed-off-by: Eddie Huang <eddie.huang@mediatek.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-mt65xx.c