]> git.baikalelectronics.ru Git - kernel.git/commit
hso: fix refcounting on the ttyHSx devices
authorOlivier Blin <blino@mandriva.com>
Fri, 8 Aug 2008 19:01:41 +0000 (12:01 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 14 Aug 2008 08:43:46 +0000 (04:43 -0400)
commitff60a5a294af138c781ecffd47e8c32b1c65e9b5
treed16d3ad63cc9e0b5def6e313ac3657959597a4ff
parentd1ce4e45070214054ef9d6f0fefff4561df5c885
hso: fix refcounting on the ttyHSx devices

The references on ttyHSx devices were not decremented correctly when
the tty was closed. The helper freeing the serial devices was never
called because of that, and the module left some dangling sysfs
devices after being unloaded.

Signed-off-by: Olivier Blin <blino@mandriva.com>
Cc: Jari Tenhunen <jari.tenhunen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/usb/hso.c