Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3517471pxp; Tue, 8 Mar 2022 16:26:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJwU/HGX7XQ76cdaGE4wfGwB16poGRAdR7sayer5zTn/u67GbfpEFRGnFietKkeDympW5NOu X-Received: by 2002:a17:902:f789:b0:14e:ebbc:264b with SMTP id q9-20020a170902f78900b0014eebbc264bmr19978370pln.169.1646785582814; Tue, 08 Mar 2022 16:26:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646785582; cv=none; d=google.com; s=arc-20160816; b=nMmqokrN9pxoxR7wfRr5zmFAEyrEmGv/2DlSC5k+MpqCQwr4hCvQ7vgI07CAo5FYJI +7qf0EYzLPxl7BAlw9pOJVpHjH85AGVwyLN5koqgD75yZ6mHRCiDjKY/ToB+OqjxsD4J Hn+9eJXCL2FCjBTS9NoihfMHqD+TKQcO6oc4lsixTzLOqbbiiSOKKafVBp2DUaDOwFZX S/xMhRcY2QoeZx5gb9cuVS6xFlJsWuupyqz8nXcboW3+0h7/rz97uar/QQoHm6yLGaTF mHkqeXOumL0Vo9s0BWH7XtAoX2Jw5ZkM1XIKVWJqAWK8+kW+YfyWRJ1FV+F3bhHKu79F 7C4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :dkim-signature; bh=rfR7qXhkac8MSMxxEBCzNKSqcYpP/Fvc4ZBkig2QdMY=; b=dckuuU7UG+7YEJyXnTbdYaBBJhsurfMP72NIbe9zngLtxdL1o4NLUegFv3xHDTzHtO xK7yjgZoKKI7B1Q7Yji+lVR3D0e7kp+0UY1uILsLox/zmB5ND3hn+sGFRVihJkcJkdsR IjncOW+Rv/M/OocWXFl2Pdo5Vy8XEehhBiRGux2xppu7Qi1nu/LJlreWcEcC3i8kAGY1 EkTxjOHSNtZyOBCNVlQ3ZcFfFkC7yuyYi2eRHVGSSK6LiFcpaZ6+EvlXLMEhc6ZhRE7b wcQEoK5s5KQNsFyl6hXdh9TzcRbar1ZsTRBkkzXzlPM2okuejh68qBf/JIeWYBr5AeBO HBAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=XbZPeUje; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id v11-20020a056a00148b00b004f739ef5b88si409309pfu.291.2022.03.08.16.26.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 16:26:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=XbZPeUje; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AF55213F76; Tue, 8 Mar 2022 15:47:40 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344970AbiCHIdA (ORCPT + 99 others); Tue, 8 Mar 2022 03:33:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241954AbiCHIc7 (ORCPT ); Tue, 8 Mar 2022 03:32:59 -0500 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0F0D3F89E; Tue, 8 Mar 2022 00:32:02 -0800 (PST) Received: from ssl.serverraum.org (web.serverraum.org [172.16.0.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 63ED422236; Tue, 8 Mar 2022 09:31:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1646728319; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rfR7qXhkac8MSMxxEBCzNKSqcYpP/Fvc4ZBkig2QdMY=; b=XbZPeUjeqMbsMTn+pgnhV1fh+dPTvBgBu+XJez+SynmGrdQ6DJSdoUQHzh1lxpGWMvrxSw 6VpHQIhMqWcMFhXiNntw/3roMadgW4RUwbjWfxOGd0kQqDeYXclRPLDTKFMm9Y5rlPrh7W JAvgk7mO1860qg25FWheWoPIZooft5Y= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 08 Mar 2022 09:31:58 +0100 From: Michael Walle To: Horatiu Vultur Cc: andriy.shevchenko@linux.intel.com, colin.foster@in-advantage.com, linus.walleij@linaro.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/2] pinctrl: ocelot: Fix the pincfg resource. In-Reply-To: <20220308083023.frr7qz2xga2tas5r@soft-dev3-1.localhost> References: <20220304144432.3397621-2-horatiu.vultur@microchip.com> <20220307124501.3487932-1-michael@walle.cc> <20220308083023.frr7qz2xga2tas5r@soft-dev3-1.localhost> User-Agent: Roundcube Webmail/1.4.12 Message-ID: <691cc39a667d6284fa25bc47f6855152@walle.cc> X-Sender: michael@walle.cc X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 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? -michael