mfd: fusb302: change to host when connect type-c to standard-a cable
authorMeng Dongyang <daniel.meng@rock-chips.com>
Mon, 15 Aug 2016 04:25:57 +0000 (12:25 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 24 Aug 2016 08:03:55 +0000 (16:03 +0800)
When connected with type-c to standard-a cable, inno phy will
generate an interrupt before setting the state of typec to host,
which result in detecting of battery charger. This patch change
the state to host before interrupt happen.

Change-Id: I6a2e15c264bd6729c3b8d23af23ad15145559b20
Signed-off-by: Meng Dongyang <daniel.meng@rock-chips.com>

No differences found