]> git.karo-electronics.de Git - linux-beck.git/commit
usb: dwc3: get rid of ->prepare()/->complete()
authorFelipe Balbi <balbi@ti.com>
Tue, 7 Oct 2014 15:19:23 +0000 (10:19 -0500)
committerFelipe Balbi <balbi@ti.com>
Mon, 3 Nov 2014 16:00:58 +0000 (10:00 -0600)
commit0b0231aa246cbfdcf0a07f5e8914c0f1b80002f6
tree3ee19d2b8df96e589d092c98ec3e8cf4d1c73251
parent7ee2566ff53e0620a80548689c74505fe8f10ec8
usb: dwc3: get rid of ->prepare()/->complete()

Using ->prepare()/->complete() to mask/unmask
IRQs is wrong at least for dwc3. We need to
make sure that by the end of ->resume(), IRQs
are working and ready to fire because a child
device may need working IRQs for its own ->resume()
method.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/core.c
drivers/usb/dwc3/core.h
drivers/usb/dwc3/gadget.c