linux/drivers/usb/class
Bjørn Mork 9983d6dc4e usb: cdc-wdm: ignore speed change notifications
The only notification supported by the Device Management class is
Response Available. But this driver is also used as a subdriver of
other CDC classes, allowing notifications like Speed Change and
Network Connection. This results in log messages which are only
confusing to an end user:

 [66255.801874] cdc_mbim 1-3:1.5: unknown notification 42 received: index 5 len 8

These drivers use cdc-wdm as a subdriver to allow access to an
embedded management protocol, and all management is expected to
use this protocol. There is therefore no need to handle any of
these optional CDC notifications. Instead we can let the cdc-wdm
driver recognize them and log a debug level message instead of an
error.

Reported-by: Rob Gardner <robmatic@gmail.com>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-10-29 17:02:41 -07:00
..
cdc-acm.c usb: class: cdc-acm: be careful with bInterval 2013-07-25 11:49:29 -07:00
cdc-acm.h USB: cdc-acm - blacklist IMS PCU device 2013-03-12 08:50:23 -07:00
cdc-wdm.c usb: cdc-wdm: ignore speed change notifications 2013-10-29 17:02:41 -07:00
Kconfig USB: regroup all depends on USB within an if USB block 2013-04-09 16:49:07 -07:00
Makefile
usblp.c USB: usblp.c: remove dbg() usage 2012-05-01 21:33:31 -07:00
usbtmc.c USB: usbtmc: fix up attribute permissions 2013-08-25 15:12:03 -07:00