usb: chipidea: otg: set host_request_flag for gadget
authorLi Jun <jun.li@nxp.com>
Fri, 19 Feb 2016 02:04:45 +0000 (10:04 +0800)
committerFelipe Balbi <balbi@kernel.org>
Fri, 4 Mar 2016 13:14:37 +0000 (15:14 +0200)
commit2dfb46be1a231888e8d51b97573f592e408d5199
tree086b970c61c0f51de5ad7440d447aba028d58267
parentc5348b621bd8a61fab3de9f69bf14c8545d7d642
usb: chipidea: otg: set host_request_flag for gadget

Set host_request_flag if the current peripheral wants to take host role
via changing a_bus_req or b_bus_req by user application.

Acked-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/chipidea/otg_fsm.c