]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mwifiex: do not advertise usb autosuspend support
authorBing Zhao <bzhao@marvell.com>
Thu, 27 Feb 2014 04:11:22 +0000 (20:11 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Feb 2014 18:48:01 +0000 (13:48 -0500)
commitadb07df1e039e9fe43e66aeea8b4771f83659dbb
tree3b74f23b72bca75df3115355ba4201b65d7e515f
parentb95eddbb907538d5501d4d659056e987de64d978
mwifiex: do not advertise usb autosuspend support

As many Surface Pro I & II users have found out, the mwifiex_usb
doesn't support usb autosuspend, and it has caused some system
stability issues.

Bug 69661 - mwifiex_usb on MS Surface Pro 1 is unstable
Bug 60815 - Interface hangs in mwifiex_usb
Bug 64111 - mwifiex_usb USB8797 crash failed to get signal
      information

USB autosuspend get triggered when Surface Pro's AC power is
removed or powertop enables power saving on USB8797 device.
Driver's suspend handler is called here, but resume handler
won't be called until the AC power is put back on or powertop
disables power saving for USB8797.

We need to refactor the suspend/resume handlers to support
usb autosuspend properly. For now let's just remove it.

Cc: <stable@vger.kernel.org> # 3.5+
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/usb.c