usb: dwc2: commit beb7e592bc is causing a disconnected device to not get detected again

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

While I was testing my patch to combine the dwc2/s3c-hsotg into a DRD
driver, I found that after disconnecting a USB HDD from an OTG
A-connector, then reconnecting it, the driver would no longer detect the
USB device.

I was able to track this issue down to this commit:

commit beb7e592bcfd750951c47580494f13065f0fd44c
Author: Julien DELACOU <julien.delacou@xxxxxx>
Date:   Wed Nov 20 17:29:49 2013 +0100

    staging: dwc2: add check on dwc2_core_reset return
    
    If the GRSTCTL_CSFTRST self-clearing bit never comes
    back to 0 for any reason, the controller is under reset
    state and cannot be used. It's preferable to abort
    initialization in such case.
    
    Signed-off-by: Julien Delacou <julien.delacou@xxxxxx>
    Acked-by: Paul Zimmerman <paulz@xxxxxxxxxxxx>
    Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>



Has anyone else seen this issue with the dwc2 driver on 3.14-rc1?

Thanks,
Dinh

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux