usb: mtu3: clear test_mode flag when reset
Clear test_mode flag when the gadget is reset by host, otherwise will affect the next test item. Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
5fcdd6de18
Коммит
fbe9db75b4
|
@ -719,4 +719,5 @@ void mtu3_gadget_reset(struct mtu3 *mtu)
|
|||
mtu->u1_enable = 0;
|
||||
mtu->u2_enable = 0;
|
||||
mtu->delayed_status = false;
|
||||
mtu->test_mode = false;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче