Skip to content
Commit 3921426b authored by Felipe Balbi's avatar Felipe Balbi
Browse files

usb: dwc3: core: move event buffer allocation out of dwc3_core_init()



This patch is in preparation for adding PM support
dwc3 driver. We want to re-use dwc3_core_init and
dwc3_core_exit() functions on resume() and suspend()
callbacks respectively.

Moving even buffer allocation away from dwc3_core_init()
will allow us to reuse the event buffer which was allocated
long ago on our probe() routine.

Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 380f0d28
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