Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4346869ybg; Mon, 21 Oct 2019 07:38:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqw/jUN1iIdJ5g5a2daadZycU7iJu/6rPO8Nkn0fgYYVsKlIuqIn+Dq6G01dyGRza3B/OY1e X-Received: by 2002:a05:6402:20c:: with SMTP id t12mr1579482edv.109.1571668715610; Mon, 21 Oct 2019 07:38:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571668715; cv=none; d=google.com; s=arc-20160816; b=K9zKQx5pg/44inbE5gUfKlEjtbQn2TSv1rBbSqdQeGLU/GWJNNirrrx0gxx1PEIJXF o7XzNSIVpt/1zOdMh6787Cb4yD5kOIkjJcR1KzlocYp7OpLtnnN3F+N2XR6UVGzmIuD0 9cMH9IfUZr4RLZE/Udkl0tVkRebfmu2WKO5AjJDhNNHvhFmd38wyFlhtBRpYOBHJfrAX SGn43dgb7UDRNRsOL4sErhJYJ6pw0LfJB1OZUQ6H6Vvw7dEYo1AGkxtzFCGtZhrgoflH 9LUyoGFI52peUhIX4wa4c7uSVA8u/hpaZ+Mlqbo0eVHS7esAn4m2ACZN2d2fL5X8G13+ jGeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:ironport-sdr; bh=goI4ixGsX5AU8ezGo0Noj0YSiqQfFgfGOG+B0ahWp6w=; b=qXvq/jAVPU5L5JCAEU6Z1prUs/w2qMSAU/bGLuMg/SJiz8x++reKPCmPrchNIJDnsg Fbk1mwZhIJDppiVKvqpQwl2c87n0ABG4MqVb8t3vtdfc3+EJAi6MEam1o1xaq8Zg7bS2 FeBYTaflYoGKOdD/Yjtc6++MdIy3XiVboNCoU5pn9Jpaolv18Zk7ByepCoHIHTU39+tK UCgOA5LyFSlKMPDHz2+aOm9vybVLr4iqs2WHvrmdvh4OUW6YuJGDs/ZvtGma5U9p0Lwl /l4a+MKdlGOekzHsIdxPeU5q3xcIcEGlyFH6/9Ko1aRywA9cSrRRjOkDaYHvy7dYYaq/ bRCQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w18si9997374eda.445.2019.10.21.07.38.11; Mon, 21 Oct 2019 07:38:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729313AbfJUOg4 (ORCPT + 99 others); Mon, 21 Oct 2019 10:36:56 -0400 Received: from alexa-out-blr-02.qualcomm.com ([103.229.18.198]:7201 "EHLO alexa-out-blr-02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729093AbfJUOgz (ORCPT ); Mon, 21 Oct 2019 10:36:55 -0400 Received: from ironmsg02-blr.qualcomm.com ([10.86.208.131]) by alexa-out-blr-02.qualcomm.com with ESMTP/TLS/AES256-SHA; 21 Oct 2019 20:00:44 +0530 IronPort-SDR: zrqY6U8uaxAGnilZKL3X1+tzMf/ZVbuSH4VCq+yr8hz8lOlLK1osE9z11j5dvhdRv069y9wOlw TZT+HQWyLZBqd5UuLtLa2zUO57yOEj3qhAbFgz/D15vamOBhQiqrYAuDA0vSIxGY2+pR6Jweom RXTUuVEflCejBKPoVU+XLLf17daefWYIW4i/fisY2OdlTNbtuMCn8gENs6BoGYzXjUUCxfKwL6 QJtYbOW2khR+32sSK96gUZfgdqodvrFkM/NPUNm1NAUTcadYU6DvVsbdVhQ2+FtxMYwq2sjWdj JEEvTYg0e5jzfwhPU7TdcC+S Received: from rampraka-linux.qualcomm.com ([10.206.25.221]) by ironmsg02-blr.qualcomm.com with ESMTP; 21 Oct 2019 20:00:44 +0530 Received: by rampraka-linux.qualcomm.com (Postfix, from userid 2305851) id E357B35FA; Mon, 21 Oct 2019 20:00:42 +0530 (IST) From: Ram Prakash Gupta To: asutoshd@codeaurora.org, stummala@codeaurora.org, sayalil@codeaurora.org, rampraka@codeaurora.org, vbadigan@codeaurora.org, cang@codeaurora.org, ppvk@codeaurora.org, adrian.hunter@intel.com, ulf.hansson@linaro.org, robh+dt@kernel.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Sujit Reddy Thumma , Talel Shenhar , Ritesh Harjani , "Bao D. Nguyen" Subject: [RFC 5/6] mmc: sdhci-msm: Add capability in platform host Date: Mon, 21 Oct 2019 19:59:36 +0530 Message-Id: <1571668177-3766-6-git-send-email-rampraka@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1571668177-3766-1-git-send-email-rampraka@codeaurora.org> References: <1571668177-3766-1-git-send-email-rampraka@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Sujit Reddy Thumma Signed-off-by: Talel Shenhar Signed-off-by: Sahitya Tummala Signed-off-by: Asutosh Das Signed-off-by: Ritesh Harjani Signed-off-by: Veerabhadrarao Badiganti Signed-off-by: Bao D. Nguyen Signed-off-by: Can Guo Signed-off-by: Sayali Lokhande Co-Developed-by: Ram Prakash Gupta Signed-off-by: Ram Prakash Gupta --- drivers/mmc/host/sdhci-msm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c index b75c82d..67accf6 100644 --- a/drivers/mmc/host/sdhci-msm.c +++ b/drivers/mmc/host/sdhci-msm.c @@ -1934,6 +1934,8 @@ static int sdhci_msm_probe(struct platform_device *pdev) goto clk_disable; } + msm_host->mmc->caps2 |= MMC_CAP2_CLK_SCALE; + pm_runtime_get_noresume(&pdev->dev); pm_runtime_set_active(&pdev->dev); pm_runtime_enable(&pdev->dev); -- 1.9.1