]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
[media] media: em28xx - remove reset_resume interface
authorShuah Khan <shuah.kh@samsung.com>
Wed, 9 Jul 2014 20:36:03 +0000 (17:36 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sat, 26 Jul 2014 14:14:24 +0000 (11:14 -0300)
em28xx uses resume interface as its reset_resume interface.
If usb device is reset during suspend, reset_resume doesn't
do the necessary initialization which leads to resume failure.
Many systems don't maintain do not maintain suspend current to
the USB host controllers during hibernation. Remove reset_resume
to allow disconnect to be called followed by device restore
sequence.

Signed-off-by: Shuah Khan <shuah.kh@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/em28xx/em28xx-cards.c

index 9da812b8a7861de75722cf5fcfdbe29e3baf39eb..a7e24848f6c8d04e3431d27f20107732bbd12686 100644 (file)
@@ -3524,7 +3524,6 @@ static struct usb_driver em28xx_usb_driver = {
        .disconnect = em28xx_usb_disconnect,
        .suspend = em28xx_usb_suspend,
        .resume = em28xx_usb_resume,
-       .reset_resume = em28xx_usb_resume,
        .id_table = em28xx_id_table,
 };