usb: mtu3: fix operation failure when test TEST_J/K
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Tue, 24 Apr 2018 02:52:49 +0000 (10:52 +0800)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 15 May 2018 07:15:07 +0000 (10:15 +0300)
commitf3b28e5e07ef5feaa0071050d14d5b6e6cb68060
tree1780621b7ad909c6d08d17155a01bbd94ea6f7c4
parent11254eb2def5e1556dbe97da58af3e76a0d5e8d7
usb: mtu3: fix operation failure when test TEST_J/K

There is an error dialog popped up in PC when test TEST_J/K
by EHSETT tool, due to not waiting for the completion of
control transfer. Here fix it by entering test mode after
Status Stage finish.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/mtu3/mtu3_gadget_ep0.c