On Fri, May 16, 2025 at 4:43 PM <ant.v.morya...@gmail.com> wrote:

> @@ -1557,6 +1557,7 @@ static int _ehci_submit_int_msg(struct usb_device *dev, 
> unsigned long pipe,
>                 debug("got wrong buffer back (%p instead of %p)\n",
>                       backbuffer, buffer);
>                 result = -EINVAL;
> +               goto err;

Was this supposed to be a v2? The error Tim pointed out is still here.

     ret = _ehci_destroy_int_queue(dev, queue);
> @@ -1565,6 +1566,10 @@ static int _ehci_submit_int_msg(struct usb_device 
> *dev, unsigned long pipe,
>
>         /* everything worked out fine */
>         return result;
> +
> +err:
> +    _ehci_destroy_int_queue(dev, queue);  // Освобождаем очередь перед 
> выходом

Please remove the comment.

Reply via email to