diff options
author | Greg Suarez <gpsuarez2512@gmail.com> | 2013-10-29 17:29:10 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-30 00:02:41 (GMT) |
commit | 73e06865ead1bec8d1c179e1c647dc77adde9116 (patch) | |
tree | 01e167bd8665aab09998994b83338f5d790377b0 /drivers/ide/ide-gd.h | |
parent | 32e24930fb71c47a1366325b6f139e039cacaca4 (diff) | |
download | linux-73e06865ead1bec8d1c179e1c647dc77adde9116.tar.xz |
USB: cdc-wdm: support back-to-back USB_CDC_NOTIFY_RESPONSE_AVAILABLE notifications
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@smithmicro.com>
Acked-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ide/ide-gd.h')
0 files changed, 0 insertions, 0 deletions