usb: common: otg-fsm: add HNP polling support
authorLi Jun <jun.li@nxp.com>
Fri, 19 Feb 2016 02:04:42 +0000 (10:04 +0800)
committerFelipe Balbi <balbi@kernel.org>
Fri, 4 Mar 2016 13:14:36 +0000 (15:14 +0200)
commitae57e97a95211397b46a40f8cb0a23966c054bc5
tree3d6f2248f4edb3e5d1e5d3ea19b9c8ea97862ac3
parent346dbc69933086312d9e76bb68ba04e2c82c9b13
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>
drivers/usb/common/usb-otg-fsm.c
include/linux/usb/otg-fsm.h
This page took 0.02655 seconds and 5 git commands to generate.