From: Alan Stern Date: Mon, 29 Nov 2010 15:17:22 +0000 (-0500) Subject: USB: fix autosuspend bug in usb-serial X-Git-Tag: v2.6.37-rc5~31^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abf03184a31a3286fc0ab30f838ddee8ba9f9b7b;p=pandora-kernel.git USB: fix autosuspend bug in usb-serial This patch (as1437) fixes a bug in the usb-serial autosuspend handling. Since the usb-serial core now has autosuspend support, it must set the .supports_autosuspend member in every serial driver it registers. Otherwise the usb_autopm_get_interface() call won't work. This fixes Bugzilla #23012. Signed-off-by: Alan Stern CC: stable@kernel.org Reported-by: Kevin Smith Reported-and-tested-by: Simon Gerber Reported-and-tested-by: Matteo Croce Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed