Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp4361912pxp; Tue, 15 Mar 2022 19:35:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwcvJs+Sc7Ei8U2eBFmXxad58Zg7aYNacrxv3j5H2ohMeSIfAfhogvHMUYwqGPIIRXkiFM4 X-Received: by 2002:a17:907:7b86:b0:6da:8a95:35bf with SMTP id ne6-20020a1709077b8600b006da8a9535bfmr24470579ejc.652.1647398133402; Tue, 15 Mar 2022 19:35:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647398133; cv=none; d=google.com; s=arc-20160816; b=d2p8CS+QQSUWJzkhyh3w3pYbtRM6B/QUOMtkVyc9kYet92sJ5T2RDNDrmYV+b4zRa8 zd/0E8OB+bCDdVo7on9lK8p1F7hDEJhvOKqnGQIoz28H8tM2QmIPoYmeAaIJ9cqz7tvV M/CaKhCqlCU+UrxuwriaDR4Bby6Au08Df/ctefAgvuH9Wq7ZaJBSPJ2D4K+WcbeW6zcR JSrl/nzhQugnXTh09uKD3ohQX/AyJxZrijn8qQElYqnwVxu6n31J4dq5xs94O4iUXRun 2BXykf9ox5ZQEEewCWSJu1welHbaepN50vnEtRyVpTzGaMOYu3iyHU/W7aJd3pro8fQ0 rsbg== 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=Fhmr+vMVRJ+uJzK784G8d+opHR5kwCeLncvHCwhC7V8=; b=dr90iuUJCpam/CrfaH4PrAvecnRd6GdmlE3Mxwf1TKa3wVf0rXCnxvpL6MmaabJ/jP Z1tXUNLaWJQhscMnTcKkMrQDbOxNKXyOHOrR6BfJTEk8veTGtFkfCIrll0hFCOboSrtD i4LEfBwvd0GCvAKFt2HIWr8ufQRyT5ep4RkiHDW08S45R0rLbFwwKd0xKZD01IRUxZ97 0WM+c8sl92bAr3xhn1czMj5hdi9atPxvO6NXK6kY6TzLvU7crPya6l0B6iZD4rbHNlio qACQzTINWTcf5WUGg0BT/kguxxRNi5ieSeJWZNj+ZQBoaE8q0vKVToYJN7fQq2F/j56Y NVYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kQy3v1QA; 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 s1-20020a056402520100b00416669e0096si533478edd.622.2022.03.15.19.35.03; Tue, 15 Mar 2022 19:35:33 -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=kQy3v1QA; 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 S1344003AbiCOAyY (ORCPT + 99 others); Mon, 14 Mar 2022 20:54:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45832 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236912AbiCOAyW (ORCPT ); Mon, 14 Mar 2022 20:54:22 -0400 Received: from mail-yb1-xb32.google.com (mail-yb1-xb32.google.com [IPv6:2607:f8b0:4864:20::b32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B5D76408 for ; Mon, 14 Mar 2022 17:53:11 -0700 (PDT) Received: by mail-yb1-xb32.google.com with SMTP id w16so34231171ybi.12 for ; Mon, 14 Mar 2022 17:53:11 -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=Fhmr+vMVRJ+uJzK784G8d+opHR5kwCeLncvHCwhC7V8=; b=kQy3v1QA+Hs7vM1GB/kac+JSnrZoyWtPEg1+IV8Y5ZzR4P3NU67VlLNHPZALJKuhXE yW3O3AViZsihifLekuBWYILJr8muyHrcuEjrNU8m9KkwyCeyYqUR81deV8FOaWcS8cTZ WW6YGyVJ7rfWfPVqczRP5R6tRz+JaAY6IFVg5G9wyV4Oro5sS3lp7yKkJ5oUVoQfpN6H QfsECU9tHG9eLO3MCCuGxWHAyQXfNRLJixqZXTbc8W/QGK3vJIh1yZOfGoGbzt9GoxJw y9Kn4eh0t3Hmk+/1fQVHMxLJVMmoRqQriR6mwqcs8l/lc/ZbiZQfrWVJEw8S7+clBPmO t+SQ== 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=Fhmr+vMVRJ+uJzK784G8d+opHR5kwCeLncvHCwhC7V8=; b=x5wS895nO7V4NkL/x9VUOyk7VmnPxBcF5egbaCFJqwRjuHbWp+x3Oan9ryfVTD7riC lL3zMgYcKgJbOP5x4k9EB1/eDPVTpGDZiTEyzDDSYIRJ9TsvYJxLrjafFloiocZUhjXi vwaV+aMn3UuoHx8k1MGgKmVOlScBJlhlLTliI1niSH8YJf3JXaoYx7UWujRRIa5aoKzl HY87sibhetal6BWk4xtS4MFIgPHdG5OJLEojh3+2lsD70cMyK/byvk5+f3J3lcbSNfHL rCLLz7veoMG3f6pXdsC8tY84itmVFrAb7hsiFTwnsYoS56gbqHH3Gwe6IInGvbUF6p47 VocA== X-Gm-Message-State: AOAM533obOwy0C2riLbGuy+Q/HnMkrT4l3hnsJa8Aflak+hg70fMoMXb qvBcQlwO/Yp3TLf35mvkFPkcvvh3AELwR9Ukwe2xyA== X-Received: by 2002:a05:6902:203:b0:628:7b6f:2845 with SMTP id j3-20020a056902020300b006287b6f2845mr21201574ybs.533.1647305590607; Mon, 14 Mar 2022 17:53:10 -0700 (PDT) MIME-Version: 1.0 References: <20220304144432.3397621-1-horatiu.vultur@microchip.com> <20220304144432.3397621-3-horatiu.vultur@microchip.com> In-Reply-To: <20220304144432.3397621-3-horatiu.vultur@microchip.com> From: Linus Walleij Date: Tue, 15 Mar 2022 01:52:59 +0100 Message-ID: Subject: Re: [PATCH v2 2/2] pinctrl: ocelot: Fix interrupt parsing To: Horatiu Vultur Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, colin.foster@in-advantage.com, andriy.shevchenko@linux.intel.com 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 Fri, Mar 4, 2022 at 3:42 PM Horatiu Vultur wrote: > In the blamed commit, it removes the duplicate of_node assignment in the > driver. But the driver uses this before calling into of_gpio_dev_init to > determine if it needs to assign an IRQ chip to the GPIO. The fixes > consists in using the platform_get_irq_optional > > Fixes: 8a8d6bbe1d3bc7 ("pinctrl: Get rid of duplicate of_node assignment in the drivers") > Signed-off-by: Horatiu Vultur Patch applied. Yours, Linus Walleij