USB: fix wrong order of events in usb serial suspension
authorOliver Neukum <oliver@neukum.org>
Tue, 21 Jul 2009 06:47:34 +0000 (08:47 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Sep 2009 13:46:29 +0000 (06:46 -0700)
commit81e5b23cd206d46d4872d25f3d7ff67a0f355c71
tree55f5c327daacc5feb91724c4294a61997817d103
parent807fcb5e19877d339a4cc56f2c6ddaf3a147457a
USB: fix wrong order of events in usb serial suspension

if a subdriver has an additional suspend method, it must be called
first to allow the subdriver to return -EBUSY, because the second
half cannot be easily undone.

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