]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MLK-10051-2 usb: common: otg: set feature of b_hnp_enable after host request flag...
authorLi Jun <B47624@freescale.com>
Wed, 24 Dec 2014 10:23:39 +0000 (18:23 +0800)
committerLi Jun <jun.li@freescale.com>
Wed, 21 Jan 2015 14:11:12 +0000 (22:11 +0800)
commit945579b14c36eb291988b98f6352091c6bb1c2ca
treef3ee0b53f96b7d5b2b3a34db7d6d40541e8c4d99
parentab8e41b665c01b06aee84e2f43cc6ce7058b5530
MLK-10051-2 usb: common: otg: set feature of b_hnp_enable after host request flag is set

The A-device is required to set this feature and suspend the bus within
THOST_REQ_SUSP when it determines that the B-device wishes to become host
(host_req_flag = TRUE). So this patch does this if host request flag is set
and a_set_b_hnp_en has not been set.

Acked-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Li Jun <jun.li@freescale.com>
drivers/usb/common/usb-otg-fsm.c