]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Bluetooth: Add missing reset_resume dev_pm_ops
authorShuah Khan <shuah.kh@samsung.com>
Tue, 21 May 2013 15:32:06 +0000 (09:32 -0600)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 29 May 2013 21:43:41 +0000 (18:43 -0300)
Add missing reset_resume dev_pm_ops. Missing reset_resume results in the
following message after power management device test. This change sets
reset_resume to btusb_resume().

[ 2506.936134] btusb 1-1.5:1.0: no reset_resume for driver btusb?
[ 2506.936137] btusb 1-1.5:1.1: no reset_resume for driver btusb?

Signed-off-by: Shuah Khan <shuah.kh@samsung.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
drivers/bluetooth/btusb.c

index 7a7e5f8ecadcffef990eaea6c2fafdcf94ff4c4b..1eb90c021358b93314d0af6f7ae0c2e8ff02b2da 100644 (file)
@@ -1616,6 +1616,7 @@ static struct usb_driver btusb_driver = {
 #ifdef CONFIG_PM
        .suspend        = btusb_suspend,
        .resume         = btusb_resume,
+       .reset_resume   = btusb_resume,
 #endif
        .id_table       = btusb_table,
        .supports_autosuspend = 1,