usb: phy: fsm: update OTG HNP state transition conditions according to OTG and EH...
authorLi Jun <B47624@freescale.com>
Wed, 26 Feb 2014 23:38:19 +0000 (07:38 +0800)
committerFelipe Balbi <balbi@ti.com>
Fri, 7 Mar 2014 16:03:25 +0000 (10:03 -0600)
commit8bebbe8dc6145303db05964fb09657aac2a7e909
tree9c47b026a82c8a2a01900ef38c81009f9f77d7de
parent716fb91dfe1777bd6d5e598f3d3572214b3ed296
usb: phy: fsm: update OTG HNP state transition conditions according to OTG and EH 2.0 spec.

According to:"On-The-Go and Embedded Host Supplement to the USB Revision 2.0
Specification July 27, 2012 Revision 2.0 version 1.1a"
- From a_host to a_wait_bcon if !b_conn
- Add transition from a_host to a_wait_vfall if id state is high or a_bus_drop
- From a_wait_vfall to a_idle if a_wait_vfall_tmout

Signed-off-by: Li Jun <b47624@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-fsm-usb.c