USB: serial: introduce a flag into the usb serial layer to tell drivers that their...
authorOliver Neukum <oliver@neukum.org>
Thu, 5 Feb 2009 15:54:25 +0000 (16:54 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Mar 2009 23:20:29 +0000 (16:20 -0700)
commitf8bece8d91f9ed9cff3c98920802f1b3046b7560
tree7444caecab970139c8f937d27ef22cdc176010a0
parent6e14bda1b18b2e3c16258427fc43ceb43e1bc1d5
USB: serial: introduce a flag into the usb serial layer to tell drivers that their URBs are killed due to suspension

This patch introduces a flag into the usb serial layer to tell drivers
that their URBs are killed due to suspension. That is necessary to let
drivers know whether they should report an error back.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Hi Greg,

this is for 2.6.30. Patches to use this in drivers are under development.

Regards
Oliver
drivers/usb/serial/usb-serial.c
include/linux/usb/serial.h