From: David Vrabel Date: Tue, 6 Jan 2009 17:58:02 +0000 (+0000) Subject: wusb: return -ENOTCONN when resetting a port with no connected device X-Git-Tag: v2.6.29-rc4~72^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a9b1d17ba59b78e4bae67f7a7cf546986a42e7d;p=pandora-kernel.git wusb: return -ENOTCONN when resetting a port with no connected device If reading the device descriptor fails during hub_port_init() fails, then the port is disabled, disconnecting the device. The port is then reset at the start of the next init attempt but there is no device to reset. Signed-off-by: David Vrabel --- Reading git-diff-tree failed