commit | ae57e97a95211397b46a40f8cb0a23966c054bc5 | [log] [tgz] |
---|---|---|
author | Li Jun <jun.li@nxp.com> | Fri Feb 19 10:04:42 2016 +0800 |
committer | Felipe Balbi <balbi@kernel.org> | Fri Mar 04 15:14:36 2016 +0200 |
tree | 3d6f2248f4edb3e5d1e5d3ea19b9c8ea97862ac3 | |
parent | 346dbc69933086312d9e76bb68ba04e2c82c9b13 [diff] |
usb: common: otg-fsm: add HNP polling support Adds HNP polling timer when transits to host state, the OTG status request will be sent to peripheral after timeout, if host request flag is set, it will switch to peripheral state, otherwise it will repeat HNP polling every 1.5s and maintain the current session. Acked-by: Peter Chen <peter.chen@nxp.com> Signed-off-by: Li Jun <jun.li@nxp.com> Signed-off-by: Felipe Balbi <balbi@kernel.org>