Hi, Minas Harutyunyan <Minas.Harutyunyan@xxxxxxxxxxxx> writes: >> @@ -1768,16 +1771,17 @@ static int dwc2_hsotg_process_req_feature(struct dwc2_hsotg *hsotg, >> return -EINVAL; >> >> hsotg->test_mode = wIndex >> 8; >> - ret = dwc2_hsotg_send_reply(hsotg, ep0, NULL, 0); >> - if (ret) { >> - dev_err(hsotg->dev, >> - "%s: failed to send reply\n", __func__); >> - return ret; >> - } >> break; >> default: >> return -ENOENT; >> } >> + >> + ret = dwc2_hsotg_send_reply(hsotg, ep0, NULL, 0); >> + if (ret) { >> + dev_err(hsotg->dev, >> + "%s: failed to send reply\n", __func__); >> + return ret; >> + } >> break; >> >> case USB_RECIP_ENDPOINT: >> > > What about this patch? See: https://lore.kernel.org/linux-usb/875zhd6pw0.fsf@xxxxxxxxxx/T/#u -- balbi
Attachment:
signature.asc
Description: PGP signature