From: Linus Torvalds Date: Tue, 10 Jun 2008 18:59:43 +0000 (-0400) Subject: USB: don't use reset-resume if drivers don't support it X-Git-Tag: v2.6.26-rc6~8^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5340ba827b6269ccd2dcfd3d966626d9dd75d5d4;p=pandora-kernel.git USB: don't use reset-resume if drivers don't support it This patch tries to identify which devices are able to accept reset-resume handling, by checking that there is at least one interface driver bound and that all of the drivers have a reset_resume method defined. If these conditions don't hold then during resume processing, the device is logicall disconnected. This is only a temporary fix. Later on we will explicitly unbind drivers that can't handle reset-resumes. Signed-off-by: Linus Torvalds Signed-off-by: Alan Stern Cc: Oliver Neukum Cc: Pavel Machek Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed