diff options
author | Felipe Balbi <balbi@ti.com> | 2013-06-12 14:16:11 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-07-29 06:57:00 -0400 |
commit | 7f97aa9865800766e570d0e1be772a034dd30388 (patch) | |
tree | d70e1e01fc48a0a32a60404601ea228fbadc2077 /drivers/usb/dwc3 | |
parent | e8adfc30ff9282a728fd8b666b6418308164c415 (diff) |
usb: dwc3: gadget: rename dwc3_process_event_buf
that function isn't really processing any event
buffer, rather just checking whether it contains
events to be processed.
Due to that reason, we're reaning it to dwc3_check_event_buf()
instead.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3')
-rw-r--r-- | drivers/usb/dwc3/gadget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index bdca5a255a1d..8e47eefffeee 100644 --- a/drivers/usb/dwc3/gadget.c +++ b/drivers/usb/dwc3/gadget.c | |||
@@ -2499,7 +2499,7 @@ static irqreturn_t dwc3_thread_interrupt(int irq, void *_dwc) | |||
2499 | return ret; | 2499 | return ret; |
2500 | } | 2500 | } |
2501 | 2501 | ||
2502 | static irqreturn_t dwc3_process_event_buf(struct dwc3 *dwc, u32 buf) | 2502 | static irqreturn_t dwc3_check_event_buf(struct dwc3 *dwc, u32 buf) |
2503 | { | 2503 | { |
2504 | struct dwc3_event_buffer *evt; | 2504 | struct dwc3_event_buffer *evt; |
2505 | u32 count; | 2505 | u32 count; |
@@ -2534,7 +2534,7 @@ static irqreturn_t dwc3_interrupt(int irq, void *_dwc) | |||
2534 | for (i = 0; i < dwc->num_event_buffers; i++) { | 2534 | for (i = 0; i < dwc->num_event_buffers; i++) { |
2535 | irqreturn_t status; | 2535 | irqreturn_t status; |
2536 | 2536 | ||
2537 | status = dwc3_process_event_buf(dwc, i); | 2537 | status = dwc3_check_event_buf(dwc, i); |
2538 | if (status == IRQ_WAKE_THREAD) | 2538 | if (status == IRQ_WAKE_THREAD) |
2539 | ret = status; | 2539 | ret = status; |
2540 | } | 2540 | } |