Re: [PATCH] USB: cdc-wdm: support back-to-back USB_CDC_NOTIFY_RESPONSE_AVAILABLE notifications

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greg Suarez <gpsuarez2512@xxxxxxxxx> writes:

> Some MBIM devices send back-to-back USB_CDC_NOTIFY_RESPONSE_AVAILABLE notifications
> when sending a message over multiple fragments or when there are unsolicited
> messages available.
>
> Count up the number of USB_CDC_NOTIFY_RESPONSE_AVAILABLE notifications received
> and decrement the count and submit the urb for the next response each time userspace
> completes a read the response.
>
> Signed-off-by: Greg Suarez <gsuarez@xxxxxxxxxxxxxx>

Thanks for doing this.  Looks very good to me.


Bjørn
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux