Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3528452pxp; Mon, 14 Mar 2022 23:42:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJykHHVDUokFTe16jkCfuy9YD+mjGOjbgn/nw8GDC6L554HpTOlx+PBqb+g0vCHZeISdpMy1 X-Received: by 2002:a17:907:97c1:b0:6da:bd15:cca0 with SMTP id js1-20020a17090797c100b006dabd15cca0mr21198168ejc.327.1647326527629; Mon, 14 Mar 2022 23:42:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647326527; cv=none; d=google.com; s=arc-20160816; b=BBV0FPElBJs+ilQNRutT2z/bJ0LON1z/6bp4b5WZsmtrk2Kk4Q66yTWZ+btsthtgT3 b+jqBVvKTEtqHrDM6YlxqmnBume7FzGED0fBJAJSYn7t0LsoxEySCPz5H9qqJvlBMAux 4onsj+mEBdvra/E5ThWxctXwn4nYpUo2fntPnXeszk7d83Dr+ju0DLZo5IyZiGJRDg12 +D/IhrbjeGpQ3r8lohfxaBssBJf/JLmB4kE6BO/Kd2WqcwAgPPvNtlgGL3lD7npvxEZn aJ5vJLo1oa6bDFv+TvnMUMdj8E2FUWETaG3WqLC8CY8jUKWh2EQCBVUPnB4RKg2aZnUV nIWA== 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=p0UlhLg5UKZcX2aQVdSXvgppoO3cZOrtQ6eoO0oL/Q0=; b=GbzFJVgCMuR6UEmPw96XXrGHUpcm2KuTgpIdgmG0nD3Wivf0pqSPf7V2/d/xtWVc11 ztnDu6NakkcISwsW+8969KEuZpxaL2FzeIOtzUnBJwMsuumUxmaRY47t2/sDtNVOYESK cdBo8ZIZDKBm2AdAYDMZzeEHdFzqrxQJto7Ms1jFarnRuWESe7xIMenssIfOw320hccU D2SiVpq/oZWZQX12izg6c62cSj0tHcmAOjV2aP9KQ/9EGVncigrEovFrNhd4zcySEGxv dwlP4+J1HuX5kY+SQ6UfmWhIEyieWc9GwNZ7aSx68h+eJmhAQUuK88YxePwUt5YpGAPd u7Bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QUiGPPJz; 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 z8-20020a17090665c800b006b54b51c672si10689037ejn.699.2022.03.14.23.41.41; Mon, 14 Mar 2022 23:42:07 -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=QUiGPPJz; 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 S1343797AbiCOAw3 (ORCPT + 99 others); Mon, 14 Mar 2022 20:52:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234246AbiCOAw2 (ORCPT ); Mon, 14 Mar 2022 20:52:28 -0400 Received: from mail-yb1-xb30.google.com (mail-yb1-xb30.google.com [IPv6:2607:f8b0:4864:20::b30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3525A42A01 for ; Mon, 14 Mar 2022 17:51:17 -0700 (PDT) Received: by mail-yb1-xb30.google.com with SMTP id w16so34225401ybi.12 for ; Mon, 14 Mar 2022 17:51:17 -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=p0UlhLg5UKZcX2aQVdSXvgppoO3cZOrtQ6eoO0oL/Q0=; b=QUiGPPJzn7kEVNBbdRGZN7y1wEnZ8PE99wDVRUYPdG7npO00a1a5tmuWBvfD4CYcIY 0zY/Cj1/jMwmWfhNIUuJcoqQiaR/bJOC74zjK4OGSbmz3/DpS+qTv7gCvTK7yNSoT1Tt vQRQ5BHHLORdPrO+a7cLptIZvGk96R6ebiS8UpPXhSWY1n9I4xesAORcmo9READeJDHW IW0RZy8yeI2Mh6XeU8GHrWncZvU/65MBWKd3C+167ykIh1Qf9Bzy70QI4L1TnZCFV5ac ZQK9DpAIRcp9bNsZ+PpY/oiRanLk9WLkFQea9uhasoQr4uMlDVl+ytiMloy6E9L+dA9J GH/Q== 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=p0UlhLg5UKZcX2aQVdSXvgppoO3cZOrtQ6eoO0oL/Q0=; b=XSSXKxn5bxvSkfInfbYKWdMuyEeLILG3qb5KCxMDXTMZWRI0NaIoCTbMPA7hEyZuCo KKWgRzpfol09DR/KBmJ47VCSzJ8yo6gKO/+8KFc7v7ZZ+jSNUIJCqSI1OzFo7MX7Q0mo kr9IM3j4VdrB7n2Q2oVybJQDm6hB9lKHMypupp0aGov4SkbZEyTfEK6iFGC2M3zhK3kX Y8byPJqxj60/tSKBVTZFOyVb/PSyi1+QRXtAlKbv1paWwOCOTreFrHcyK8S4Bkc/z/QA g2vKDXLsvUaQ4jZw1UWrrI1K8RsMpDSmcishvjITm1lgM/72FNz3RUqELoHnc9adyqTL 53EA== X-Gm-Message-State: AOAM533BYBvkKr8GMoFaKf4WK21U+vQyQoU1g24XhwzHRAtrg6wNgQKx gDijqqbaY3a2NBMQcUoQNPyscanz0Z/wI98CO3HKZA== X-Received: by 2002:a25:2308:0:b0:628:9a66:7327 with SMTP id j8-20020a252308000000b006289a667327mr20333278ybj.626.1647305476388; Mon, 14 Mar 2022 17:51:16 -0700 (PDT) MIME-Version: 1.0 References: <20220304144432.3397621-2-horatiu.vultur@microchip.com> <20220307124501.3487932-1-michael@walle.cc> <20220308083023.frr7qz2xga2tas5r@soft-dev3-1.localhost> <691cc39a667d6284fa25bc47f6855152@walle.cc> In-Reply-To: <691cc39a667d6284fa25bc47f6855152@walle.cc> From: Linus Walleij Date: Tue, 15 Mar 2022 01:51:05 +0100 Message-ID: Subject: Re: [PATCH v2 1/2] pinctrl: ocelot: Fix the pincfg resource. To: Michael Walle Cc: Horatiu Vultur , andriy.shevchenko@linux.intel.com, colin.foster@in-advantage.com, 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=unavailable 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 Tue, Mar 8, 2022 at 9:32 AM Michael Walle wrote: > Am 2022-03-08 09:30, schrieb Horatiu Vultur: > > The 03/07/2022 13:45, Michael Walle wrote: > >> EXTERNAL EMAIL: Do not click links or open attachments unless you know > >> the content is safe > >> > >> > The pincfg resources are in the second memory resource. But the driver > >> > still tries to access the first memory resource to get the pincfg. This > >> > is wrong therefore fix to access the second memory resource. > >> > > >> > Reviewed-by: Colin Foster > >> > Fixes: ad96111e658a95 ("pinctrl: ocelot: combine get resource and ioremap into single call") > >> > Signed-off-by: Horatiu Vultur > >> > >> There is already this patch pending, which does exactly > >> the same: > >> https://lore.kernel.org/linux-gpio/20220216082020.981797-1-michael@walle.cc/ > > > > Sorry, I have missed your patch. > > Should I resend this series where I will drop this patch? What is the > > correct approach? > > Actually, I don't know. Maybe you don't need to do anything, Linus? I'll just apply 2/2 if applicable. Yours, Linus Walleij