]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: serial generic resume function fix
authorOliver Neukum <oliver@neukum.org>
Fri, 6 Feb 2009 14:01:54 +0000 (15:01 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Mar 2009 23:20:29 +0000 (16:20 -0700)
commitd55c0ae6b243bb8e247259089b3a2e47ebfabdf6
treeb672bc3e307600b447e43a05f12392b7c5fd38db
parentf8bece8d91f9ed9cff3c98920802f1b3046b7560
USB: serial generic resume function fix

This removes an unnecessary check for autoresume from the generic
resume method. The check has been obsoleted by the now delayed
increase of the usage counter which makes the error this check prevented
impossible. This change allows drivers which only use the bulk read URB
the use of the generic method even if they support autosuspend.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/generic.c