Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4177549ybl; Tue, 21 Jan 2020 14:30:31 -0800 (PST) X-Google-Smtp-Source: APXvYqyfzic55Wm7BKKxcsBx9Ptl3i18m/GRk6k8FvJbLOxyFqItzyWvfySyzm8ItX0q+qCcQqkZ X-Received: by 2002:aca:dfd5:: with SMTP id w204mr4758525oig.95.1579645831453; Tue, 21 Jan 2020 14:30:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579645831; cv=none; d=google.com; s=arc-20160816; b=toyzA82lb0HngO4BBFRlT5yOisPMRn+r96VHXyZ2Z4QgO61NT21BkIorYUq23N3eN5 bBeMJ3m7eVcCyzDQVebnx0Yu5g+lfMpCjdRfGykSj2yTD64qEv9j7TPELjSe2NRh7Rtz RxL/n6HkGUfDdAB61StuPMjtgwuDy2sNbkBfefeYo3OhfEasPdgqNTtTo1wRLC7/UJ37 u+Mr9RaNfSuTytoOIaIJUPJCuOQwyjrBUqRzprtTr3rPWcq9G/CMGK438VgothfDwrq6 gtsy3Jcm2QU+aaRUo1UngnWOXvu1yuH7MhPjvl9DFGF0lzVeihNiE5CsylcXXH3I5XeR nr9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=7P4IyeI9BxTi+tAwpXs22qIecGOypW9Z4Zztx2O6f7s=; b=WLnFUMooC/u4rGzxS6iiJDOJo/z3EPH58x8oUcKI8FJ2W4/XHnNF8oVMSC+dh6Kyi0 gDsp2PYFwrnuYne2blz9PFU/ls1oh4YitGey+16b9cCYAo1fUUYC4Pq0qPRMAzB8mELp nXF4+/jE7P8PGQdIRKUrNT0hMQhXjW4uyPWNxD8Ezh75XFljUEnHDA/Qgk5a4+FrKz+V NbVITesUq4PB8faYjnInp0yM/uvXN2UWklrwZvNrKuyS2SQqtHdsKTpuXNNuQiDaH5rV yqMaDkAnR7wDsiUbDmZGFwlJNSL4MoU8sysZuAqB4G5HSDiTPCxKcmC4dJNLH3ZJnfbK nl9g== 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 w7si20113279oie.196.2020.01.21.14.30.17; Tue, 21 Jan 2020 14:30:31 -0800 (PST) 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 S1726590AbgAUW3R (ORCPT + 99 others); Tue, 21 Jan 2020 17:29:17 -0500 Received: from gloria.sntech.de ([185.11.138.130]:35748 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725876AbgAUW3R (ORCPT ); Tue, 21 Jan 2020 17:29:17 -0500 Received: from mail.linser.at ([80.109.168.170] helo=phil.Hitronhub.home) by gloria.sntech.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1iu21I-0005qo-Hh; Tue, 21 Jan 2020 23:29:12 +0100 From: Heiko Stuebner To: khilman@kernel.org, nm@ti.com Cc: linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, christoph.muellner@theobroma-systems.com, heiko@sntech.de, Heiko Stuebner Subject: [PATCH] PM / AVS: rockchip-io: fix the supply naming for the emmc supply on px30 Date: Tue, 21 Jan 2020 23:28:59 +0100 Message-Id: <20200121222859.4069263-1-heiko@sntech.de> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Heiko Stuebner The supply going to the emmc/flash is named vccio6, not vccio0 and while the code does this correctly already, the comments and error output do not. So just change these values to the correct ones. Signed-off-by: Heiko Stuebner --- drivers/power/avs/rockchip-io-domain.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/power/avs/rockchip-io-domain.c b/drivers/power/avs/rockchip-io-domain.c index 398fc954419e..eece97f97ef8 100644 --- a/drivers/power/avs/rockchip-io-domain.c +++ b/drivers/power/avs/rockchip-io-domain.c @@ -152,18 +152,18 @@ static void px30_iodomain_init(struct rockchip_iodomain *iod) int ret; u32 val; - /* if no VCCIO0 supply we should leave things alone */ + /* if no VCCIO6 supply we should leave things alone */ if (!iod->supplies[PX30_IO_VSEL_VCCIO6_SUPPLY_NUM].reg) return; /* - * set vccio0 iodomain to also use this framework + * set vccio6 iodomain to also use this framework * instead of a special gpio. */ val = PX30_IO_VSEL_VCCIO6_SRC | (PX30_IO_VSEL_VCCIO6_SRC << 16); ret = regmap_write(iod->grf, PX30_IO_VSEL, val); if (ret < 0) - dev_warn(iod->dev, "couldn't update vccio0 ctrl\n"); + dev_warn(iod->dev, "couldn't update vccio6 ctrl\n"); } static void rk3288_iodomain_init(struct rockchip_iodomain *iod) -- 2.24.1