Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp4409834pxp; Tue, 15 Mar 2022 21:14:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSfWHDl/45XTaDN95buDZZspjnZflGQ0Faszwr7FuBxAHXevVws5Fa2C5Y83bCvSSId6nP X-Received: by 2002:a17:902:a586:b0:153:8d7a:70c7 with SMTP id az6-20020a170902a58600b001538d7a70c7mr7725807plb.27.1647404079701; Tue, 15 Mar 2022 21:14:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647404079; cv=none; d=google.com; s=arc-20160816; b=KTKmKk2x+n+gX/a1U5EvsYK+yT9PQAyQFK1A90Q1cZPnme9vp/b0D+aAwmX137ap0j xH3ju9VkidwW4yxA20sXp4vvSqff7swNIwIIIv97HApCO10fE/2ZK+TGweK0YRrGFYJi H/G9HKK1qxZ9wsBfAgGTKEKPdcEts4pQR1C7q5XkrEX2CY6CaaXxqJLkUFWTjhHxktkk sF6EF+B3Fq66qCYS12TqaLNpCWcsYLkXE0JTYUWWEZ6a475TvL8fYKpFRYux7s9A0zI+ fzNSXA6dk/fg0k3DgqG258fPxyMMDBGkHw/ka6jw+eX5AjkDE1L6wLi7o45Ce0CYl7Pa Um4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=gXWwMBem/Gvm7YvqdViBU1+FSzXxlHD18ChkWQuSLzc=; b=ZWSQqadVS1u5OI2wqfMpYvsGqW1+850me7mUMmjEJ8UiNSBDVCJRJl4TDaYuF+v67o cLP+R4T5tDW3liDsz/b++XG7CmN1hBd8kYjbzRCvYmA1cKpfILQFjsQz9xh6FL1choOZ AMd3NYVwHuBAdZEZ8fuolo5LXx/Xi+FRVRkdXko9VCiWlO9VSjkgCHPUTereOxEa8U7S xEXzAEczgOfrY4OYU5U9tvReTpOF4+pcbkhe16JkzJR0V8whgOvjrBX8t8TiNhn/1sDa zcPKACG3ji24W71DqE2obHc7yUOTscVSjfcpxXvzDb99zAVHiQ8dYQSPyoHFlw9oX4R0 6Ouw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RBr9bZfe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d6-20020a170902854600b001530b0dd498si761826plo.306.2022.03.15.21.14.16; Tue, 15 Mar 2022 21:14:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RBr9bZfe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243380AbiCOAHL (ORCPT + 99 others); Mon, 14 Mar 2022 20:07:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239432AbiCOAHK (ORCPT ); Mon, 14 Mar 2022 20:07:10 -0400 Received: from mail-yb1-xb35.google.com (mail-yb1-xb35.google.com [IPv6:2607:f8b0:4864:20::b35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8ECA40A2D for ; Mon, 14 Mar 2022 17:05:58 -0700 (PDT) Received: by mail-yb1-xb35.google.com with SMTP id e186so34098520ybc.7 for ; Mon, 14 Mar 2022 17:05:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gXWwMBem/Gvm7YvqdViBU1+FSzXxlHD18ChkWQuSLzc=; b=RBr9bZfefdG1+UXjqZGFiv+QI2dNG7CGF751rzo+2OezIEhtxBC35dbsq6UvTXmK9y nFNNbB059LQrNEhFOEuxSbPaxFElArnwBhHogrrqcraQUlkplYuVcsBFc/u7utJf2q7V C+kBepopEudIZI/ZkcNf+F493C1NXT/Q9zWyb/oa6kGmxgqk4m3sg+v9+4vCApdHfH5j wBZR/hue5TGwyiHNK3W3haUsNYkzw/pB6LrWJViCYTBbrw9MJ/0o7GGucBxLP6iB5/nh KpZw7GJS/Xvd0OYFbbF5ZazKJkAwt9hhw+rvSYykXhH/EJP3qZWrXS7Mhs+NuIoLWGf7 eHxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gXWwMBem/Gvm7YvqdViBU1+FSzXxlHD18ChkWQuSLzc=; b=sR7S4ECmDTaLenqtypg8HtTcnRXtxU9IDron0UAFnaVJe1v2rKQ19jPW3Njut1gWWK SPniRZy3UgscRQw4o2zCrZSS3diuEmeiXvrKdSYddrOvZztXOgU+nqypBi+JiQX5wmwl TTdKnflEq72UAQCAuCpQ+lZfw5WPr8Z2CJlHKBQM+wrTlIand87YDWTCL21mNtLPPVIR IyWEDNbeMLwX6hPgxFPzXYmbUB0g6Up84wnokqPvoEFP9vQUtAT1i63GdZKMfdtHEf6n w2bOP5zf6wlouDAD8nKU7dcP4fuKnJ+E4yT2bO5gu57aLg/3SO4tBOX0fWexXBYiD+yZ coUQ== X-Gm-Message-State: AOAM532W1HCWTEmjPMb92eS8cju6O3u5HhtL2jiunCg+s2691oUn1lhW cE7OhGH+bDJZ61Y6m88CGbPr83tK5Qyux4ak2MCSV8WCu5o= X-Received: by 2002:a25:e710:0:b0:633:67d3:7264 with SMTP id e16-20020a25e710000000b0063367d37264mr3387585ybh.291.1647302758045; Mon, 14 Mar 2022 17:05:58 -0700 (PDT) MIME-Version: 1.0 References: <20220216082020.981797-1-michael@walle.cc> In-Reply-To: <20220216082020.981797-1-michael@walle.cc> From: Linus Walleij Date: Tue, 15 Mar 2022 01:05:46 +0100 Message-ID: Subject: Re: [PATCH] pinctrl: ocelot: fix confops resource index To: Michael Walle Cc: Colin Foster , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 16, 2022 at 9:20 AM Michael Walle wrote: > Prior to commit ad96111e658a ("pinctrl: ocelot: combine get resource and > ioremap into single call") the resource index was 1, now it is 0. But 0 > is the base region for the pinctrl block. Fix it. > I noticed this because there was an error that the memory region was > ioremapped twice. > > Fixes: ad96111e658a ("pinctrl: ocelot: combine get resource and ioremap into single call") > Signed-off-by: Michael Walle Patch applied! Yours, Linus Walleij