Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2255754ybv; Fri, 21 Feb 2020 11:53:26 -0800 (PST) X-Google-Smtp-Source: APXvYqyZWXi+16SVKnHLzUlcy7CIB1N8gM4I0tv+fOPXwzAOyiPOzED62xmPTaEy495qt5KhC82L X-Received: by 2002:a9d:7e99:: with SMTP id m25mr29106287otp.212.1582314806778; Fri, 21 Feb 2020 11:53:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582314806; cv=none; d=google.com; s=arc-20160816; b=A+o7YaY/LRUHQV2s6szGUVmmJW4Jw/SixR79AMdoUBNvn0UxOWeRkijNmLEZHSH1FH rhYh8aURphMfo2E6/SU20LewFjDV3soQF4PPQ4BQ9tb0hxfjekdDOuZJEE77VT5Pr+6L u1nZy0iTYJt6ooVIPJQ0vyXKWtQDWLPk0UgdUc/TKpjQ1uFNLx9sXnHw424gOR/WFfbs eg5t6Pt9vbhnX8LFYdbYYY4EhDZXp4v5Z4ZEJFUhtgqi/S5cZy3BRTG5nyNfXdI3kZB2 6CJj75Z7qZdEqjro9w5GM6Uz0PsTk6a8VQNa716J5y3ErTAbLtzVOuXPNHA6PrKvSp6f kaOA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Jv43EuwqoQQ6Eh5CXyvrDue7P8uSVPCJd35Mv+hSSaQ=; b=qD10Cl/G78zfUPYcH2iZ6Z+By8whrCLHODxkbEhweTTV/ztRmkhUQR61WFms/OspNy Cz9fA+S+ns0IRhuUPczeMWRFPhQwr5fSYbkm+fyVtEc0zVpEt+tgyTsKUUr1LgpzlRpy x2Gar6foiBjLgN3iZ6/wLYn+Gja3Mif2WiEPjM3D5kccUKOsq1SfdLY0iDWZq1KQXKC2 kuAm5XB2/NaaaIVZhqMRFCwVg2WK9VP2GQeF25cAJdxrEVQpKJXw764rpK8z1Q1dnoE9 Tyr9XjtGq6xKkIe1jVqPXX3Fk1c1zCSZbhq5oq0Wjwc9ouyejMv7r8ArEucn6gOu3+UV sutw== 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 w23si2014582otm.256.2020.02.21.11.53.14; Fri, 21 Feb 2020 11:53:26 -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 S1727874AbgBUTxK (ORCPT + 99 others); Fri, 21 Feb 2020 14:53:10 -0500 Received: from muru.com ([72.249.23.125]:56856 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726160AbgBUTxJ (ORCPT ); Fri, 21 Feb 2020 14:53:09 -0500 Received: from hillo.muru.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTP id ECDED814A; Fri, 21 Feb 2020 19:53:52 +0000 (UTC) From: Tony Lindgren To: linux-omap@vger.kernel.org Cc: "Andrew F . Davis" , Dave Gerlach , Faiz Abbas , Greg Kroah-Hartman , Keerthy , Nishanth Menon , Peter Ujfalusi , Roger Quadros , Suman Anna , Tero Kristo , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Adam Ford , =?UTF-8?q?Andr=C3=A9=20Hentschel?= , "H. Nikolaus Schaller" Subject: [PATCH 1/7] bus: ti-sysc: Fix 1-wire reset quirk Date: Fri, 21 Feb 2020 11:52:50 -0800 Message-Id: <20200221195256.54016-2-tony@atomide.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200221195256.54016-1-tony@atomide.com> References: <20200221195256.54016-1-tony@atomide.com> 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 Because of the i2c quirk we have the reset quirks named in a confusing way. Let's fix the 1-wire quirk accordinlyg. Then let's switch to using better naming later on. Fixes: 4e23be473e30 ("bus: ti-sysc: Add support for module specific reset quirks") Signed-off-by: Tony Lindgren --- drivers/bus/ti-sysc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c --- a/drivers/bus/ti-sysc.c +++ b/drivers/bus/ti-sysc.c @@ -1400,7 +1400,7 @@ static void sysc_init_revision_quirks(struct sysc *ddata) } /* 1-wire needs module's internal clocks enabled for reset */ -static void sysc_clk_enable_quirk_hdq1w(struct sysc *ddata) +static void sysc_pre_reset_quirk_hdq1w(struct sysc *ddata) { int offset = 0x0c; /* HDQ_CTRL_STATUS */ u16 val; @@ -1488,7 +1488,7 @@ static void sysc_init_module_quirks(struct sysc *ddata) return; if (ddata->cfg.quirks & SYSC_MODULE_QUIRK_HDQ1W) { - ddata->clk_enable_quirk = sysc_clk_enable_quirk_hdq1w; + ddata->clk_disable_quirk = sysc_pre_reset_quirk_hdq1w; return; } -- 2.25.1