Message ID | 20170616124544.15046-8-kishon@ti.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.182.29.35 with SMTP id g3csp1257988obh; Fri, 16 Jun 2017 05:47:45 -0700 (PDT) X-Received: by 10.84.217.213 with SMTP id d21mr12503459plj.45.1497617264926; Fri, 16 Jun 2017 05:47:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497617264; cv=none; d=google.com; s=arc-20160816; b=s6GywA/q6DYf9d8Wbd/iLYsekkVzWK/E28gBOFH+qE72gNfJ2m/AaMbuq+4bjA9eRj NS0iRZqiwdg5n0y//vY0cOznVSZBfgZFDlfw2zAAVWWjfRhmb5uSxVkrZtUKbmz606DA YTKQob2soXhGPzqx+gz/hn0rucyelWnYkqFs3ZQuFM9FCENTSHukpNH52wDvA5mN9K5C xjj1MarpStb8dqiCZnoJlv8hco50omYAGpxx/l7dUP8AjspkmZRdQ9ElUtXfXtR1m/20 Cfx4BsjwfLqVTQgvjOa9SaA5DBeVoP56mFiSUliNP4aR7QbNRWKQ/7QSfmq16Ejfx8ft /DKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=9BbuyG1Lm0acQWWm0qEialTWBh08zzwiWey8h5U6NIo=; b=k8sZwVSI1mql+g/96Hb22r5+vsiymm2AlKRW4CAmMXPqIo9Fo0WxhVKXQ989zC5wYV 5Sgxah9lf9hIun4CkHVyGOs0HaqDH4lp2aNVpz2eweIRbFU3kG5d6gJHt0wnOmEFoujN rbIC4JCBfeYZ+lEfstKkZ72vc/QUf5NmAU2BFoyh3SLJZmPe6Wrsbt4yPLHcBWg1Fah6 1OErWG6tRLRU86EaTGGrt4TOSOUUsursXdcI/wO/CjZr23+R8nT8uIGi2PUvF3WAAnVY fQJd2JhjVIddiSr/ItE4/AOcaBEZUlPoUv0zS6hLetnui5cuP70aPogInD5YtN5VASXb Q0Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.b=JbO5KPjX; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q5si2000392plk.170.2017.06.16.05.47.44; Fri, 16 Jun 2017 05:47:44 -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; dkim=pass header.i=@ti.com header.b=JbO5KPjX; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753735AbdFPMrB (ORCPT <rfc822;georgi.djakov@linaro.org> + 25 others); Fri, 16 Jun 2017 08:47:01 -0400 Received: from fllnx210.ext.ti.com ([198.47.19.17]:57062 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753679AbdFPMqy (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 16 Jun 2017 08:46:54 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id v5GCkN6h006424; Fri, 16 Jun 2017 07:46:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1497617183; bh=zFQJw2h6UQW6yQJzy27cgfeLEeaQaUT7CP1S2wEJo6M=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=JbO5KPjXc7eW9rod7DiO61uDRyq4n0x+ZPxZ1y3NKYyo1GDwMH+lD0+X0dkfTQriT xkxRlk1FUgSbuzLyV3VLbjgC94JaH5yGACPqQLU2PNvgEBjC/omNyPkI4dlrHXhhi3 CKm0l6VWC/JwT2f835l8XhWY9PLmcwAk0fjtSFXc= Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v5GCkN5O018206; Fri, 16 Jun 2017 07:46:23 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.294.0; Fri, 16 Jun 2017 07:46:22 -0500 Received: from a0393678ub.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id v5GCjjBj000652; Fri, 16 Jun 2017 07:46:19 -0500 From: Kishon Vijay Abraham I <kishon@ti.com> To: Ulf Hansson <ulf.hansson@linaro.org>, Rob Herring <robh+dt@kernel.org>, Tony Lindgren <tony@atomide.com>, <nsekhar@ti.com> CC: Russell King <linux@armlinux.org.uk>, Ravikumar Kattekola <rk@ti.com>, <linux-mmc@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-omap@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <kishon@ti.com> Subject: [PATCH 07/16] mmc: host: omap_hsmmc: Allow io voltage switch even for fixed vdd Date: Fri, 16 Jun 2017 18:15:35 +0530 Message-ID: <20170616124544.15046-8-kishon@ti.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170616124544.15046-1-kishon@ti.com> References: <20170616124544.15046-1-kishon@ti.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index f64148b119df..f1d5e8385591 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c @@ -415,13 +415,6 @@ static int omap_hsmmc_set_power(struct omap_hsmmc_host *host, int power_on, if (mmc_pdata(host)->set_power) return mmc_pdata(host)->set_power(host->dev, power_on, iov); - /* - * If we don't see a Vcc regulator, assume it's a fixed - * voltage always-on regulator. - */ - if (IS_ERR(mmc->supply.vmmc)) - return 0; - if (mmc_pdata(host)->before_set_reg) mmc_pdata(host)->before_set_reg(host->dev, power_on, iov);