]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] USB: fix usb reference count bug in cdc-acm driver
authorbrian@murphy.dk <brian@murphy.dk>
Wed, 29 Jun 2005 23:53:29 +0000 (16:53 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 12 Jul 2005 18:52:57 +0000 (11:52 -0700)
commitb3f9e307302a4be7b0b08b1bf00515dcbc57dcf9
tree3a49e9eb5e690a3b0f6609ef0f24f403b3828a39
parentb5caf918270a2b73fbe173d2b3326bebf827431d
[PATCH] USB: fix usb reference count bug in cdc-acm driver

This increases the reference count on the usb cdc acm control interface
which is referred to by the tty interface provided by the driver. This
allows the deferred removal of the tty after the physical device is
disconnected if the tty is held open at the time of disconnection.

Signed-off-by: brian@murphy.dk
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/class/cdc-acm.c