Skip to content
Commit 09fc7d22 authored by Felipe Balbi's avatar Felipe Balbi
Browse files

usb: musb: fix incorrect usage of resource pointer



We can't simply pass the resource pointer from our
device down to our children, otherwise module
reinsertion will not work as the resource will
continue to be marked as busy.

Fix it by building a proper struct resource for
our child musb device.

Tested-by: default avatarDmitry Lifshitz <lifshitz@compulab.co.il>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent e4aa937e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment