From: Johan Hovold Date: Thu, 18 Oct 2012 09:43:28 +0000 (+0200) Subject: USB: io_ti: fix sysfs-attribute creation X-Git-Tag: v3.7-rc2~17^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d8c61bc283826827e1f06816c146bfc507d3834;p=pandora-kernel.git USB: io_ti: fix sysfs-attribute creation Make sure port data is initialised before creating sysfs attributes to avoid a race. A recent patch ("USB: io_ti: fix port-data memory leak") got the sysfs-attribute creation and port-data initialisation ordering wrong. Cc: Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed