From patchwork Thu Sep 1 14:24:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Lemberg X-Patchwork-Id: 9309193 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1B1D3607D2 for ; Thu, 1 Sep 2016 14:29:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 006B029395 for ; Thu, 1 Sep 2016 14:29:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E913729430; Thu, 1 Sep 2016 14:29:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 13B0329397 for ; Thu, 1 Sep 2016 14:29:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754174AbcIAO3K (ORCPT ); Thu, 1 Sep 2016 10:29:10 -0400 Received: from mail-by2nam01on0047.outbound.protection.outlook.com ([104.47.34.47]:29861 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751214AbcIAO3I (ORCPT ); Thu, 1 Sep 2016 10:29:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandiskcorp.onmicrosoft.com; s=selector1-sandisk-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=W6i+7sgYl7TNIptFwbM74pXkR5ws/MgaSLgSR5oQNi4=; b=aiRRbqM628HkoBxIh+xf7j01YoqgdIbrnX34Vk1XvfxAK4BNSogZtmaA4SoLjGABZ14Ec5VGbUmdKQNIl29RIJKQi6vdv3HH0Fr7fnB6/fa/NTPcaslG1RM0WwQkOEwczLUALvFNTl2ualrdjxl1ALF/QZzToyBkcBJI4puedI8= Received: from CY1PR0201CA0033.namprd02.prod.outlook.com (10.163.30.171) by DM2PR02MB1308.namprd02.prod.outlook.com (10.161.142.19) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.599.9; Thu, 1 Sep 2016 14:29:07 +0000 Received: from BN1AFFO11FD018.protection.gbl (2a01:111:f400:7c10::103) by CY1PR0201CA0033.outlook.office365.com (2a01:111:e400:58b9::43) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.599.9 via Frontend Transport; Thu, 1 Sep 2016 14:29:06 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) smtp.mailfrom=sandisk.com; linaro.org; dkim=none (message not signed) header.d=none;linaro.org; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.225 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.225; helo=milsmgep14.sandisk.com; Received: from milsmgep14.sandisk.com (63.163.107.225) by BN1AFFO11FD018.mail.protection.outlook.com (10.58.52.78) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.587.6 via Frontend Transport; Thu, 1 Sep 2016 14:29:06 +0000 Received: from MILHUBIP03.sdcorp.global.sandisk.com (Unknown_Domain [10.201.67.162]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id AC.D9.61581.36938C75; Thu, 1 Sep 2016 07:21:24 -0700 (PDT) Received: from milsmgip11.sandisk.com (10.177.8.100) by MILHUBIP03.sdcorp.global.sandisk.com (10.177.9.96) with Microsoft SMTP Server id 14.3.301.0; Thu, 1 Sep 2016 07:29:02 -0700 X-AuditID: 0ac94371-952c29800000f08d-35-57c839634710 Received: from alexl-VirtualBox.sdcorp.global.sandisk.com ( [10.177.8.100]) by (Symantec Messaging Gateway) with SMTP id DF.A3.02783.D2B38C75; Thu, 1 Sep 2016 07:29:03 -0700 (PDT) From: alex lemberg To: , CC: , alex lemberg Subject: [PATCH 1/3] mmc: replacing hardcoded value for runtime PM suspend Date: Thu, 1 Sep 2016 17:24:48 +0300 Message-ID: <1472739890-3384-2-git-send-email-alex.lemberg@sandisk.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1472739890-3384-1-git-send-email-alex.lemberg@sandisk.com> References: <1472739890-3384-1-git-send-email-alex.lemberg@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrLLMWRmVeSWpSXmKPExsXCddJ5kW6K5Ylwgw1b2CyO/O9ntDi+NtyB yePOtT1sHp83yQUwRXHZpKTmZJalFunbJXBldK5sYyqYzVHRv+Y3WwPjd7YuRg4OCQETiYMz c7sYuTiEBJYySczpe8oM4WxnlLi0rwGoiBOs6PzT80wQiZ2MEv1rpjGDJNgEdCX29H9gAbFF BCwlrkxZxghiMwt4SzzpfgVmCwt4SXRdfMQKso1FQEViXSs3SJhXwF3i1rub7BDz5SROHpsM VsIp4CFxY40vSFgIqGR23zqoktcsEgsvekG0CkqcnPmEBWKThMTBFy+YQVqFBFQlzr6tm8Ao NAtJ1SwkVQsYmVYxiuVm5hTnpqcWGJroFSfmpWQWZ+sl5+duYoQEauEOxte3vQ8xCnAwKvHw btA/ES7EmlhWXJl7iFGCg1lJhHc1MMyFeFMSK6tSi/Lji0pzUosPMUpzsCiJ816M/hgmJJCe WJKanZpakFoEk2Xi4JRqYJz+plosYnkWQ1iN+X9fwQ4jxz/nNbjO2fzgn2l5suh4WQqbgj2v 9gPBoCeLr1tMkpxwcsvh4wz81VsOe5y7lLip43jqwlk8PGHH71q5nHf9Y7tLkivg0Y6VW9Ij W+2dj3xMiQpeOTXBISHvYq3OgbnzxJYKz5D/v1Z8r6la48NfL4/Gs+ZKpyuxFGckGmoxFxUn AgBVU1vuUAIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprKJMWRmVeSWpSXmKPExsXCtZEjRVff+kS4wcFeVoubD36wWezcu47J 4sj/fkaL42vDHVg87lzbw+Yxbc15Jo/Pm+QCmKO4bFJSczLLUov07RK4MjpXtjEVzOao6F/z m62B8TtbFyMnh4SAicT5p+eZuhi5OIQEtjNKvLqxmAkkwSagK7Gn/wMLiC0iYC7xcFkLM4jN LOAtcX7JDbBmYQEvia6Lj1hBbBYBVYmu6TvAbF4Bd4kDt/YyQyyQkzh5bDJQnIODU8BD4sYa X5CwEFDJ7L517BMYuRcwMqxiFMvNzCnOTc8sMDTUK07MS8ksztZLzs/dxAj2OGfkDsanE80P MTJxcEo1MMq33VjzoPi+ZsKh3e0bo9z+TLJjM0vnmH00/r35C6agPIvz6lNbOeacWJgbe2b+ xvjjv5iFohZ+1O/drsFnJuCzxfRg9/34H3EBv76nfNz/xDDn1AvbNvd9dvzsVxsF7kR4n2cr vniKtczb+5PYfVVh0bYjqzlCJnqy/1ksGvM3+LPVCubb75RYijMSDbWYi4oTAWlkq7SoAQAA MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.225; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(438002)(189002)(199003)(7696003)(7846002)(50226002)(68736007)(69596002)(189998001)(356003)(92566002)(36756003)(87936001)(586003)(5001770100001)(107886002)(33646002)(305945005)(19580395003)(106466001)(19580405001)(97736004)(2270400002)(229853001)(81156014)(8936002)(50466002)(8676002)(4326007)(47776003)(86362001)(81166006)(77096005)(50986999)(2950100001)(4001430100002)(76176999)(48376002)(5003940100001)(5660300001)(2906002)(626004)(11100500001)(86152002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR02MB1308; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD018; 1:8p8BKsNL7up+BI2uACrtYdeh9Cl6+JiWNikNvNUZodWyCWyfc0V5jNFsKiFo78wvpv+fPuA0piv6naOSK97ewm5XUNMHuHDbM6tGTc6cVBYzlTrDJE01SAwwbxdap9sBgz+Ks2jlmvrA5NHJdsoz2EqjBjHRYj3QbtaIknZIfBHox3HEpTiCtCjFJGvD9Nbywt0mgU1ytEkwWgoefbp1a0tsn4gEVEz5mmir3+1jrhimXwRnXtBG86Q9P3eJ+HpnRocdZI2EgWUFzrfJ6Gd/QF2urxt1jpCkbepDLNUSejFFjE3BaAsS2Ga3QYr9+Jon+ijUbSovYkvlWhiLlA4D/7mV5m/Q+Bh8WL1IN0lusJHR3zinBgDzWZrDpXiTI8ODD0bF39k1CLTgllvYxXVnk6M78PNuxSfWpMlgFDgNzPSfjAAI8xz3qaATOhA3CukRKHQuxrJ1Xu4jA9tvdB+dyIQUV8d4eTF7EQhdxndplVA= X-MS-Office365-Filtering-Correlation-Id: 63039127-08e5-4756-0e90-08d3d274547c X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1308; 2:8yWGU8Hs6yTYbZEIsEYMCsrSXEpszQ4UCDJbT8TCH5bJrWaUQEGYwIXErVWGkn4uJjOu/Q409nBxSfIP5/nlrPkhL2Y6fBKCXXMMMFwxm/f71jlKU7HBhYtScG3iHMuBD/zVv0QHNf2DKBi2WogPzZAN5wNv6pkDrnrXsDj6AlOMMrKBTwYUn0RETSQNRg6J; 3:FqJggYOsVIz4n9rT0kD0abjaWVhPSLYQVssjoaNjepVfhyMf1kopoicDIk09+hV2lrS0eLFu0ti1hyFk3XUqvZELgTSKt9oStf1/5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qeFobBQbeNeEZlsrY28= X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1308; 31:c/hFkS1u/9fOllpSdJwXDumCPSS1P66Au9wvUYYs4Etui9p6DVcazs6MG9WiMDuaU/TydunKB32fEnffZ7grCYY3rq4I+dJoq8XUAOmSmKQM/cdjEZm+4WaVLkm8A4v/D+ppQxPP1mTzbtk3iEp5ze70Tsz13A4pccFti2DSbCxsBv8+HxZZDL92x6OldxTX76TOr5lQhaltx8waanpgGLp8fqIZSk5Vox+pzk7itE8=; 20:DV30WhU+TDAnJV6eMr82BNK06z1sSYeRgarT6twbKolRhay+fP/aTqYshI9J4Km9hK83S4hMU0lGwpfYXFfL5rINkb+K1KNL0VhVT/BcoWeooOSOsSArOT3p5yjbZcrPGa073NoGFJ3I+5QKGZm61gqRrFk5r2MG8MGicD8lae/BANoUVuCPZwXpHkp5yVMyDnAsDmmZibzREAYK11jp1f25+9JDl+9R/PdQHjyUon22S82AWhy1tQixyrNzPkPmxZ7j+0G8XHqve4TUZ0JRy7oH48V5GoTNj5lS6Y7SlZtOH80y5e8NxlERPglqf7zc2a3MbB7fBOmpPrp4w1uMJSQxW7PW1UgTPaqKZskZ3fFMkYFf7RLxiBmVJFUAyC5w7273WmmG2Y063vixcmLN+KU009PvEwXjiNU4b8ZA8w9hJZJXTNARlrHn4fXSxpZEivJQ+A+AD2kf5c0uweQiQ/BKInGuKChq/+ckKH4wAsTguk5NuZSBj+LJvPtI735J X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13016025)(13018025)(5005006)(8121501046)(3002001)(10201501046)(6055026); SRVR:DM2PR02MB1308; BCL:0; PCL:0; RULEID:; SRVR:DM2PR02MB1308; X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1308; 4:mvzLnh22Loj1OezpUYfCETnRpS7Pc2JnxOkOYVdcwcJ3UJTxbB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T9GtK6vSwRnPp+LB+m9GyhF0iWiTm8KGJkasY1dqvFdZPvumBugSty/dDIBPB22MwBXLuqRkl2//WPl+oYlSnXx6dgiapzB9Vjpd3HfbTIZSCaeNQUmvev7Ojg4KOAVBsGcqysF3Z5N8gUWjHgLV2xJFXFaErym1PHKbKHjYCVRcfCoTWElJcljgkK7q86IJ6Q==; 5:NHEK5P0GyGhOXmetwX+gLfeEbI3bDYcGIBJUzV2TVYfemSessyYY3+/qMsubF0qdOT+Q8QAE67Fm3Ov6x4M2r+mASO5oAoWPFkMYYOvA9qUEnHjJ4VRTNYch8FaKt8SayMViPG2CDYqy1TB0GeUNWw==; 24:KG9DwfP4t/gefr3t0P5BDF6hOtQFYT5Ul2cRzFe5RgJqrY2rMODh/jWRwKVo1jLO2u01FWSeH0az0naExcULz1zryqduzxxQGwzg+RR8g0A=; 7:WNKD/76n11TnPD9XUuAg937BtgTaXCwbCS2OCQJGSDKBu8yczXuDzNASqfPDMA938flhwhYx6Om5M0ISs92unAhxfnEOgOhU/MfmmeRPUf18whM5fHjJr51snZc8rSlHC7ce5vME54g2B/Qn+fZotyuh6zr/0os/NlBhYz1k60FRWw1A6uGYvOkt6muw/UBUYSOcut4jbZLB1yoAL9BSmF6sYmsgLvvb4wnpx5sKOLxrpoPqHCxJETNsAWFaa/cq SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1308; 20:5gvapGBLaMEfyW/h9QiUateh6O28DqqhILO0AbH1n2ZrTwGb/FPkT+9IzUMpoyqmP6EwPPqHdCfJuJNRrnADTWGghSWlUEHlDbhdLGeglqjoYuZBD5SX0HIfrZMPGz2HHQbASt1IqAtXuIqaHCzwy+x454nJTW1d+N8R2B3EyllPJ6NkBGdIvxYZgl9IcmlCrG3zMNfLXIwp5DKbo+Weoh5ad/EPtChwZZus2HUsN2UvuA71XnBaAZ419TVDtYaB X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2016 14:29:06.1863 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d; Ip=[63.163.107.225]; Helo=[milsmgep14.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR02MB1308 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add MMC_AUTOSUSPEND_DELAY_MS define Signed-off-by: alex lemberg --- drivers/mmc/card/block.c | 3 ++- include/linux/mmc/host.h | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c index 48a5dd7..f4386ed 100644 --- a/drivers/mmc/card/block.c +++ b/drivers/mmc/card/block.c @@ -2610,7 +2610,8 @@ static int mmc_blk_probe(struct mmc_card *card) goto out; } - pm_runtime_set_autosuspend_delay(&card->dev, 3000); + pm_runtime_set_autosuspend_delay(&card->dev, + MMC_RUNTIME_SUSPEND_DELAY_MS); pm_runtime_use_autosuspend(&card->dev); /* diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index aa4bfbf..8cb8218 100644 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h @@ -22,6 +22,8 @@ #include #include +#define MMC_RUNTIME_SUSPEND_DELAY_MS 3000 + struct mmc_ios { unsigned int clock; /* clock rate */ unsigned short vdd;