Browse Source

usb: dwc3: gadget: remove udelay() from generic cmd

We want commands to finish ASAP, so let's remove
that udelay() call.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Felipe Balbi 9 years ago
parent
commit
88811f7b72
1 changed files with 0 additions and 2 deletions
  1. 0 2
      drivers/usb/dwc3/gadget.c

+ 0 - 2
drivers/usb/dwc3/gadget.c

@@ -225,8 +225,6 @@ int dwc3_send_gadget_generic_command(struct dwc3 *dwc, unsigned cmd, u32 param)
 				ret = -EINVAL;
 				ret = -EINVAL;
 			break;
 			break;
 		}
 		}
-
-		udelay(1);
 	} while (timeout--);
 	} while (timeout--);
 
 
 	if (!timeout) {
 	if (!timeout) {