diff options
author | Tom Rini <trini@ti.com> | 2014-09-02 16:37:57 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-09-02 16:37:57 -0400 |
commit | 48f892dc7370a23882239be06b4ec2ce60273e57 (patch) | |
tree | 050d8d28ef207dc8a00cf3f763f4997c66dfaeb9 /drivers/usb/gadget/s3c_udc_otg_xfer_dma.c | |
parent | 2c19478e01ab145c8b3a1f5b1beca9958d942e98 (diff) | |
parent | 06fa91cd671eae291b05e2138d291c56ddd394df (diff) |
Merge git://git.denx.de/u-boot-usb
Diffstat (limited to 'drivers/usb/gadget/s3c_udc_otg_xfer_dma.c')
-rw-r--r-- | drivers/usb/gadget/s3c_udc_otg_xfer_dma.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/gadget/s3c_udc_otg_xfer_dma.c b/drivers/usb/gadget/s3c_udc_otg_xfer_dma.c index 06dfeed905..4f69b22a25 100644 --- a/drivers/usb/gadget/s3c_udc_otg_xfer_dma.c +++ b/drivers/usb/gadget/s3c_udc_otg_xfer_dma.c @@ -466,7 +466,7 @@ static int s3c_udc_irq(int irq, void *_dev) struct s3c_udc *dev = _dev; u32 intr_status; u32 usb_status, gintmsk; - unsigned long flags; + unsigned long flags = 0; spin_lock_irqsave(&dev->lock, flags); @@ -585,7 +585,7 @@ static int s3c_queue(struct usb_ep *_ep, struct usb_request *_req, struct s3c_request *req; struct s3c_ep *ep; struct s3c_udc *dev; - unsigned long flags; + unsigned long flags = 0; u32 ep_num, gintsts; req = container_of(_req, struct s3c_request, req); @@ -1033,7 +1033,7 @@ static int s3c_udc_set_halt(struct usb_ep *_ep, int value) { struct s3c_ep *ep; struct s3c_udc *dev; - unsigned long flags; + unsigned long flags = 0; u8 ep_num; ep = container_of(_ep, struct s3c_ep, ep); |