USB: cdc-acm: fix possible deadlock with multiple openers
authorOliver Neukum <oliver@neukum.org>
Wed, 3 Feb 2010 16:10:22 +0000 (17:10 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:54:54 +0000 (14:54 -0800)
commit2b626dc134d38d0001b98acf8c7293b6bc5ee86d
tree7ebdb76b970f985c210d78dbd25f71ea9d957250
parentd7e18a9f2c506467ec7a9c066da45a0f60c6f5a6
USB: cdc-acm: fix possible deadlock with multiple openers

The lock must be dropped before usb_autopm_interface_put() is called

Signed-off-by: Oliver Neukum <oliver@neukum.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/class/cdc-acm.c