aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r--drivers/usb/gadget/langwell_udc.c2
-rw-r--r--drivers/usb/gadget/mv_udc_core.c4
-rw-r--r--drivers/usb/gadget/net2280.c2
-rw-r--r--drivers/usb/gadget/uvc.h1
-rw-r--r--drivers/usb/gadget/uvc_v4l2.c1
5 files changed, 5 insertions, 5 deletions
diff --git a/drivers/usb/gadget/langwell_udc.c b/drivers/usb/gadget/langwell_udc.c
index 7a133631bc2b..c9fa3bf5b377 100644
--- a/drivers/usb/gadget/langwell_udc.c
+++ b/drivers/usb/gadget/langwell_udc.c
@@ -2923,7 +2923,7 @@ static irqreturn_t langwell_irq(int irq, void *_dev)
2923 handle_port_change(dev); 2923 handle_port_change(dev);
2924 } 2924 }
2925 2925
2926 /* suspend interrrupt */ 2926 /* suspend interrupt */
2927 if (irq_sts & STS_SLI) { 2927 if (irq_sts & STS_SLI) {
2928 dev_vdbg(&dev->pdev->dev, "suspend interrupt\n"); 2928 dev_vdbg(&dev->pdev->dev, "suspend interrupt\n");
2929 handle_bus_suspend(dev); 2929 handle_bus_suspend(dev);
diff --git a/drivers/usb/gadget/mv_udc_core.c b/drivers/usb/gadget/mv_udc_core.c
index fbed5d08beee..892412103dd8 100644
--- a/drivers/usb/gadget/mv_udc_core.c
+++ b/drivers/usb/gadget/mv_udc_core.c
@@ -377,7 +377,7 @@ static int queue_dtd(struct mv_ep *ep, struct mv_req *req)
377 } else { 377 } else {
378 /* Write dQH next pointer and terminate bit to 0 */ 378 /* Write dQH next pointer and terminate bit to 0 */
379 dqh->next_dtd_ptr = req->head->td_dma 379 dqh->next_dtd_ptr = req->head->td_dma
380 & EP_QUEUE_HEAD_NEXT_POINTER_MASK;; 380 & EP_QUEUE_HEAD_NEXT_POINTER_MASK;
381 dqh->size_ioc_int_sts = 0; 381 dqh->size_ioc_int_sts = 0;
382 382
383 /* Ensure that updates to the QH will occur before priming. */ 383 /* Ensure that updates to the QH will occur before priming. */
@@ -418,7 +418,7 @@ static int queue_dtd(struct mv_ep *ep, struct mv_req *req)
418 } 418 }
419 } 419 }
420done: 420done:
421 return retval;; 421 return retval;
422} 422}
423 423
424static struct mv_dtd *build_dtd(struct mv_req *req, unsigned *length, 424static struct mv_dtd *build_dtd(struct mv_req *req, unsigned *length,
diff --git a/drivers/usb/gadget/net2280.c b/drivers/usb/gadget/net2280.c
index 2680fcc011d4..7f1bc9a73cda 100644
--- a/drivers/usb/gadget/net2280.c
+++ b/drivers/usb/gadget/net2280.c
@@ -2446,7 +2446,7 @@ static void handle_stat1_irqs (struct net2280 *dev, u32 stat)
2446 mask = (1 << HIGH_SPEED) | (1 << FULL_SPEED); 2446 mask = (1 << HIGH_SPEED) | (1 << FULL_SPEED);
2447 2447
2448 /* VBUS disconnect is indicated by VBUS_PIN and VBUS_INTERRUPT set. 2448 /* VBUS disconnect is indicated by VBUS_PIN and VBUS_INTERRUPT set.
2449 * Root Port Reset is indicated by ROOT_PORT_RESET_INTERRRUPT set and 2449 * Root Port Reset is indicated by ROOT_PORT_RESET_INTERRUPT set and
2450 * both HIGH_SPEED and FULL_SPEED clear (as ROOT_PORT_RESET_INTERRUPT 2450 * both HIGH_SPEED and FULL_SPEED clear (as ROOT_PORT_RESET_INTERRUPT
2451 * only indicates a change in the reset state). 2451 * only indicates a change in the reset state).
2452 */ 2452 */
diff --git a/drivers/usb/gadget/uvc.h b/drivers/usb/gadget/uvc.h
index b80d5143b279..bc78c606c12b 100644
--- a/drivers/usb/gadget/uvc.h
+++ b/drivers/usb/gadget/uvc.h
@@ -55,6 +55,7 @@ struct uvc_event
55#include <linux/usb.h> /* For usb_endpoint_* */ 55#include <linux/usb.h> /* For usb_endpoint_* */
56#include <linux/usb/gadget.h> 56#include <linux/usb/gadget.h>
57#include <linux/videodev2.h> 57#include <linux/videodev2.h>
58#include <linux/version.h>
58#include <media/v4l2-fh.h> 59#include <media/v4l2-fh.h>
59 60
60#include "uvc_queue.h" 61#include "uvc_queue.h"
diff --git a/drivers/usb/gadget/uvc_v4l2.c b/drivers/usb/gadget/uvc_v4l2.c
index 927291c8087c..f6e083b50191 100644
--- a/drivers/usb/gadget/uvc_v4l2.c
+++ b/drivers/usb/gadget/uvc_v4l2.c
@@ -15,7 +15,6 @@
15#include <linux/errno.h> 15#include <linux/errno.h>
16#include <linux/list.h> 16#include <linux/list.h>
17#include <linux/mutex.h> 17#include <linux/mutex.h>
18#include <linux/version.h>
19#include <linux/videodev2.h> 18#include <linux/videodev2.h>
20#include <linux/vmalloc.h> 19#include <linux/vmalloc.h>
21#include <linux/wait.h> 20#include <linux/wait.h>