summaryrefslogtreecommitdiffstats
path: root/drivers/memstick/host
diff options
context:
space:
mode:
authorMian Yousaf Kaukab <yousaf.kaukab@intel.com>2015-01-09 13:39:10 +0100
committerFelipe Balbi <balbi@ti.com>2015-01-12 22:34:58 +0100
commit6d713c1531638df8d459d248a89948318cbeec4c (patch)
treefe91baffb639fc77b6059397e5f9602b0da9ae0a /drivers/memstick/host
parentusb: dwc2: gadget: force gadget initialization in dev mode (diff)
downloadlinux-6d713c1531638df8d459d248a89948318cbeec4c.tar.xz
linux-6d713c1531638df8d459d248a89948318cbeec4c.zip
usb: dwc2: gadget: report disconnection after reset
If usb bus is reset without a physical disconnection, all endpoints will remain open. Call s3c_hsotg_disconnect() from reset handler to report a disconnect to gadget framework. hsotg->connected is checked in s3c_hsotg_disconnect() before processing disconnect. In some cases, USBRst is seen before EnumDone and after it as well. So move setting of hsotg->connected to set-address to avoid reporting extra disconnection in this case. Tested-by: Robert Baldyga <r.baldyga@samsung.com> Acked-by: Paul Zimmerman <paulz@synopsys.com> Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@intel.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/memstick/host')
0 files changed, 0 insertions, 0 deletions