usb: dwc3: core: introduce and use macros for Event Size register
authorFelipe Balbi <balbi@ti.com>
Wed, 12 Jun 2013 18:09:26 +0000 (21:09 +0300)
committerFelipe Balbi <balbi@ti.com>
Mon, 29 Jul 2013 10:56:58 +0000 (13:56 +0300)
commit68d6a01bdd2a9ebae858271129d0a8d4ae865e93
treecaf277cfa788151226366a1711a6b7173079da85
parentfb49740d72a305f2e4110b4dfb53fdd9130d8878
usb: dwc3: core: introduce and use macros for Event Size register

That register has more than just the event buffer
size; we can also mask and unmask that particular
interrupter on bit 31 of that register.

In this patch we introduce the necessary macros
and make sure to use the new macros while also
making sure we mask interrupts during driver
removal.

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