]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: rtl8712: Improve suspend/resume functionality.
authorHemmo Nieminen <hemmo.nieminen@iki.fi>
Thu, 3 Dec 2015 22:11:32 +0000 (00:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 03:52:30 +0000 (19:52 -0800)
commit39e9526cec50358725d6f68f271b35c041986800
tree32d75ee059a0355243a9517afe86881525781e4f
parent549d33d278674d317115b4364b570506c4463aa3
staging: rtl8712: Improve suspend/resume functionality.

Cancel pending URBs during suspend operation to avoid receiving ESHUTDOWN
in read/write completion callbacks while the device is suspended.

Receiving ESHUTDOWN in read/write completion callbacks will cause the
driver to enter a non-functioning "stopped" state from which the driver is
unable to recover without reloading the module.

Signed-off-by: Hemmo Nieminen <hemmo.nieminen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/drv_types.h
drivers/staging/rtl8712/usb_intf.c
drivers/staging/rtl8712/usb_ops_linux.c