Skip to content
Commit abf03184 authored by Alan Stern's avatar Alan Stern Committed by Greg Kroah-Hartman
Browse files

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: default avatarAlan Stern <stern@rowland.harvard.edu>
CC: stable@kernel.org
Reported-by: default avatarKevin Smith <thirdwiggin@gmail.com>
Reported-and-tested-by: default avatarSimon Gerber <gesimu@gmail.com>
Reported-and-tested-by: default avatarMatteo Croce <matteo@openwrt.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent a85b4e7f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment