usb: dwc3: of-simple: fix use-after-free on remove
Quoted 4 lines · Felipe Balbi
I don't use this glue layer, actually. As long as there are no regressions, you can change it to your heart's content. I still it's best to start with pm runtime blocked and let userspace decide what and when should have pm runtime enabled.
I don't use it either, I just noticed the use-after-free in remove() (and that probe was returning with a positive runtime PM usage count).
I suggest merging this fix for 4.18-rc, and then Roger can rework the driver so that it works also on OMAP.
Thanks,
Johan
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html