]> git.baikalelectronics.ru Git - kernel.git/commit
USB: cdc_acm: Silence "It is not a modem." error for pbLua devices
authorJulian Calaby <julian.calaby@gmail.com>
Tue, 5 Jan 2010 12:58:20 +0000 (23:58 +1100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:53:32 +0000 (14:53 -0800)
commit47c7704e7bf00179230a44bb420ff49b6a7ee309
tree186e24b9655716e4bf387acf89bfc65e301a9b88
parent64f3cc547b762f9fc27a7d680d883f18cfa0c6e6
USB: cdc_acm: Silence "It is not a modem." error for pbLua devices

The pbLua console port is known to not be a modem, so it is
unnecessary to be told this when it is plugged in.

Add NOT_A_MODEM quirk to tell the driver that we know this already
and hence not to warn us, and mark the pbLua console port.

Signed-off-by: Julian Calaby <julian.calaby@gmail.com>
Cc: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/class/cdc-acm.c
drivers/usb/class/cdc-acm.h