On Thu, Nov 03, 2016 at 03:55:32PM -0700, Tony Lindgren wrote: > * Tony Lindgren <tony@xxxxxxxxxxx> [161103 13:59]: > > * Ladislav Michl <ladis@xxxxxxxxxxxxxx> [161101 14:14]: > > > > cacaaf80c3a6 ("usb: musb: Call pm_runtime from musb_gadget_queue") > > > > d8e5f0eca1e8 ("usb: musb: Fix hardirq-safe hardirq-unsafe lock order error") > > > > > > tested with v4.9-rc3 which have these included. > > > > OK thanks. > > So here's something to test, v4.9-rc3 + the PHY patch I > posted + the patch below. > > > Hmm yeah playing with a hub connected devices don't always enumerate. > > When that happens, I get this: > > > > usb 1-1: reset high-speed USB device number 45 using musb-hdrc > > usb 1-1: reset high-speed USB device number 45 using musb-hdrc > > usb 1-1: reset high-speed USB device number 45 using musb-hdrc > > usb 1-1: USB disconnect, device number 45 > > usb 1-1: new high-speed USB device number 47 using musb-hdrc > > usb 1-1: new high-speed USB device number 48 using musb-hdrc > > ... > > > > And that keeps on going until I reconnect the hub. > > The patch below seems to work with PM for me, except I > the dsps glue layer won't go to idle after disconnecting > the hub. On 2430 glue layer things idle for me properly > and I don't seem to get any more vbus errors. Well, at least musb reacts on hub disconnects now. Devices get enumerated, but do not work. Also musb does notice only hub connect/disconnect, but does not react on disconnection of devices in hub. Best regards, ladis -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html