usb: chipidea: do charger detection in vbus session

In case the usb phy has the capability to detect usb charger type,
do it when vbus is on.

Signed-off-by: Li Jun <jun.li@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
This commit is contained in:
Li Jun 2017-09-04 23:14:01 +08:00 • committed by Peter Chen
commit fc5b920c3b