mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 16:24:13 +08:00
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:
parent
5fcdd6de18
commit
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user