From: Meng Dongyang Date: Mon, 15 Aug 2016 04:25:57 +0000 (+0800) Subject: mfd: fusb302: change to host when connect type-c to standard-a cable X-Git-Tag: firefly_0821_release~1692 X-Git-Url: http://plrg.eecs.uci.edu/git/?p=firefly-linux-kernel-4.4.55.git;a=commitdiff_plain;h=44c76fdc010d9392f24c75dbd08e40c1ded0d5e1;hp=44c76fdc010d9392f24c75dbd08e40c1ded0d5e1 mfd: fusb302: change to host when connect type-c to standard-a cable 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 ---