]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
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)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 15 Aug 2017 09:46:03 +0000 (12:46 +0300)
commitd1e4a4076cce37af47f16badeb079019c16ed79c
tree43f2c5617d8a0cb8075b9ccd31fe034e55622a1a
parent8ba4ad488eebeae4d5f1b03524062aa0d70b3fdb
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: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/mtu3/mtu3_gadget.c