staging: rtl8712u: Remove dummy reset-resume callback
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Sun, 13 Jan 2019 11:02:53 +0000 (19:02 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Jan 2019 15:11:50 +0000 (16:11 +0100)
commit2b2bbb561f6de45a8d3155e197e46fa199451485
treee171981c13e024d94549508e6f11b24a1957b48f
parent75752154039fa65844d529d188083cea9b3ca3e7
staging: rtl8712u: Remove dummy reset-resume callback

An USB wireless dongle uses rtl8712u stops working after system
suspend/resume.

When a USB device lost its power during suspend, the USB core knows the
power was lost and a reset-resume or a re-probe is required. But rtl8712u
provides a dummy reset-resume callback, which gets called and renders
the device dead after resume.

So remove the reset-resume call back, if power was lost during suspend,
let the USB core unbind and probe the device to solve the issue.

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/usb_intf.c