MLK-9617-17 usb: common: otg: clear b_bus_req in b_peripheral state
authorLi Jun <B47624@freescale.com>
Thu, 16 Oct 2014 14:17:54 +0000 (22:17 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:47:14 +0000 (14:47 -0500)
commitaab6150a479aaad09a029d157e5130d1f8ebda7d
tree5329225862a1172dbedece090f3a4f9c3eee9a6a
parent29ec36af3a49274ceda1b8714fc0d2ff158273e5
MLK-9617-17 usb: common: otg: clear b_bus_req in b_peripheral state

This patch is clearing b_bus_req input to be 0 when entering b_peripheral state.
b_bus_req is only TRUE when b device wants to use the bus and switch to be host
role.

Signed-off-by: Li Jun <b47624@freescale.com>
(cherry picked from commit eb610e73aa38bbb45aed6a79265cd79fe80cdd05)
(cherry picked from commit 427b0f80a51c50629131090c6f8b82d747fb7d24)
drivers/usb/common/usb-otg-fsm.c