From: Alan Stern Date: Thu, 2 Aug 2007 17:29:10 +0000 (-0400) Subject: USB: cdc-acm: fix sysfs attribute registration bug X-Git-Tag: v2.6.23-rc4~29^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74da5d68a54d66667664fbe233ededab2376a070;p=pandora-kernel.git 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 Acked-by: Oliver Neukum Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed