aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/gadget/mv_udc_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/mv_udc_core.c b/drivers/usb/gadget/mv_udc_core.c
index 046ab122ee88..fbed5d08beee 100644
--- a/drivers/usb/gadget/mv_udc_core.c
+++ b/drivers/usb/gadget/mv_udc_core.c
@@ -1553,7 +1553,7 @@ static void ch9setaddress(struct mv_udc *udc, struct usb_ctrlrequest *setup)
1553static void ch9getstatus(struct mv_udc *udc, u8 ep_num, 1553static void ch9getstatus(struct mv_udc *udc, u8 ep_num,
1554 struct usb_ctrlrequest *setup) 1554 struct usb_ctrlrequest *setup)
1555{ 1555{
1556 u16 status; 1556 u16 status = 0;
1557 int retval; 1557 int retval;
1558 1558
1559 if ((setup->bRequestType & (USB_DIR_IN | USB_TYPE_MASK)) 1559 if ((setup->bRequestType & (USB_DIR_IN | USB_TYPE_MASK))