usb: musb: core: refactor IRQ enable/disable to separate functions
authorFelipe Balbi <balbi@ti.com>
Thu, 26 Feb 2015 17:26:09 +0000 (11:26 -0600)
committerFelipe Balbi <balbi@ti.com>
Tue, 10 Mar 2015 20:33:27 +0000 (15:33 -0500)
commite1eb3eb8b02c5be35ea1fedccc6c9c6d2c9b0165
tree929da249b31e804e7c4f3a777207d194fb12dce0
parent3709ffca6485bd1b03b1fe2d9eb384dcf5db87a6
usb: musb: core: refactor IRQ enable/disable to separate functions

sometimes we want to just mask/unmask interrupts
without touching devctl register. For those
cases, let's introduce musb_enable_interrupts and
musb_disable_interrupts()

Tested-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_core.c