From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758574Ab3EUBDH (ORCPT ); Mon, 20 May 2013 21:03:07 -0400 Received: from sisa.samsung.com ([63.166.156.250]:50937 "EHLO mx2.sisa.samsung.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1755610Ab3EUBDG (ORCPT ); Mon, 20 May 2013 21:03:06 -0400 X-ASG-Debug-ID: 1369098179-05112928402dfe0001-xx1T2L X-Barracuda-Envelope-From: shuah.kh@samsung.com X-Barracuda-Apparent-Source-IP: 105.144.21.115 X-ASG-Whitelist: Client From: Shuah Khan To: Gustavo Padovan CC: "marcel@holtmann.org" , "johan.hedberg@gmail.com" , "linux-bluetooth@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "shuahkhan@gmail.com" , Shuah Khan Subject: [PATCH rebased] Bluetooth: Add missing reset_resume dev_pm_ops Thread-Topic: [PATCH rebased] Bluetooth: Add missing reset_resume dev_pm_ops X-ASG-Orig-Subj: [PATCH rebased] Bluetooth: Add missing reset_resume dev_pm_ops Thread-Index: AQHOVb7v3Podb/0mVEeMC1jREEoUOQ== Date: Tue, 21 May 2013 01:02:58 +0000 Message-ID: <1369098178.11557.3.camel@lorien> References: <1367250333.4938.20.camel@lorien> <20130520230832.GF17712@joana> <1369092891.8079.5.camel@lorien> In-Reply-To: <1369092891.8079.5.camel@lorien> Reply-To: Shuah Khan Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [105.144.34.6] Content-Type: text/plain; charset="utf-8" Content-ID: <43ED89090357E14B93DAF8A9A2E0CF0F@sisa.samsung.com> MIME-Version: 1.0 X-Barracuda-Connect: UNKNOWN[105.144.21.115] X-Barracuda-Start-Time: 1369098179 X-Barracuda-URL: http://192.168.0.102:8000/cgi-mod/mark.cgi X-Barracuda-BRTS-Status: 1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id r4L13C47016884 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 --- drivers/bluetooth/btusb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index 7a7e5f8..1eb90c0 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -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, -- 1.7.10.4 {.n++%ݶw{.n+{G{ayʇڙ,jfhz_(階ݢj"mG?&~iOzv^m ?I