aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/visor.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2007-08-02 13:29:10 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2007-08-22 17:27:43 -0400
commit74da5d68a54d66667664fbe233ededab2376a070 (patch)
treea73f155820678252652457d69fe45aff0875e69c /drivers/usb/serial/visor.c
parent8c273033906f8e85d54cb6ae052050f109440171 (diff)
USB: cdc-acm: fix sysfs attribute registration bug
This patch (as950) fixes a bug in the cdc-acm driver. It doesn't keep track of which interface (control or data) the sysfs attributes get registered for, and as a result, during disconnect it will sometimes attempt to remove the attributes from the wrong interface. The left-over attributes can cause a crash later on, particularly if the driver module has been unloaded. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Acked-by: Oliver Neukum <oneukum@suse.de> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/visor.c')
0 files changed, 0 insertions, 0 deletions