]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita78b91bbce5800cc14dc466efb15e89578e4074d
treecaf277cfa788151226366a1711a6b7173079da85
parentd7b6492598f95095270ff84df60350c64a1775ea
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