sunxi: musb: Fix "usb reset" handling
Get series with b4
b4 am 1434705086.2453.1.camel@collinsVersions newest first
- v1 Latest0 of 2 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 2 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 0/2] sunxi: musb: Fix "usb reset" handling
Le mercredi 17 juin 2015 ? 15:39 +0200, Hans de Goede a ?crit :
Quoted 19 lines
Hi,
Quoted 7 lines · Paul Kocialkowski
Le dimanche 14 juin 2015 ? 12:40 +0200, Hans de Goede a ?crit :
Quoted 5 lines
Hi Ian, Paul,
Here is a patch to fix the problems where most usb devices will no longer work after a "usb reset ", when connected to the otg controller in host mode + a related cleanup patch.
Quoted 8 lines
This works fine for an USB storage device and an USB2 keyboard but does not work with an USB1 keyboard, with error:
sunxi# usb reset
resetting USB...
USB0: scanning bus 0 for devices... USB device descriptor short read
(expected 8, got 0)
No USB Device found
Quoted 6 lines
Hmm, did you test my sunxi-wip branch perhaps? This bug does exist there, but it is the result of me refactoring things so that the musb code can use the device-model when build in host mode, which will allow enabling both the otg port in host mode and regular usb hosts in a single build, which is esp. useful for boards which have the otg hooked up in host-only mode (e.g. connected to an usb-a receptacle, or usb <-> sata bridge).
This is nice, thanks a lot for all your work!
I did however test on top of the regular U-Boot tree. I'll try again in a few days to see if it still happens.
Signature · 16 lines
Paul Kocialkowski, Replicant developer Replicant is a fully free Android distribution running on several devices, a free software mobile operating system putting the emphasis on freedom and privacy/security. Website: http://www.replicant.us/ Blog: http://blog.replicant.us/ Wiki/tracker/forums: http://redmine.replicant.us/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: This is a digitally signed message part URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150619/27357958/attachment.sig>