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);
debug_cond(DEBUG_ISR,
"\t\tOTG core got reset (%d)!!\n",
reset_available);
- reconfig_usbd();
+ reconfig_usbd(dev);
dev->ep0state = WAIT_FOR_SETUP;
reset_available = 0;
s3c_udc_pre_setup();
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);
{
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);