usb: mtu3: clear u1/u2_enable to 0 in mtu3_gadget_reset
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Tue, 25 Jul 2017 08:10:23 +0000 (16:10 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 30 Jul 2017 14:25:55 +0000 (07:25 -0700)
commit14a4caa03ba53e66a500e36bf618dbf013cbab9d
tree3dc5e47f1855cd0a453dd3f1f85ba1863e129c35
parentfe7c994a5ed8e3bd50888ef4391da9bb28934bd7
usb: mtu3: clear u1/u2_enable to 0 in mtu3_gadget_reset

when the device is reset by host, the status of u1_enable and
u2_enable should also be restored to default value.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/mtu3/mtu3_gadget.c