Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 88811f7b authored by Felipe Balbi's avatar Felipe Balbi
Browse files

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



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

Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent 0fe886cd
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -225,8 +225,6 @@ int dwc3_send_gadget_generic_command(struct dwc3 *dwc, unsigned cmd, u32 param)
				ret = -EINVAL;
			break;
		}

		udelay(1);
	} while (timeout--);

	if (!timeout) {