Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1186252pxb; Fri, 21 Jan 2022 11:46:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJz6dnFYzwxz1PGmUQXy7OxEsDiXQzHn7gkFoCgBVt7m4ivsi8Gpbcx1je1hNddcqJCwLxUC X-Received: by 2002:a63:cc10:: with SMTP id x16mr3932841pgf.60.1642794381880; Fri, 21 Jan 2022 11:46:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642794381; cv=none; d=google.com; s=arc-20160816; b=DCSlpnIn0e8ae1U3a59WdyHr5DVXIUTjBXf8t2cjpE5E1CBltVmrEUVzo6pTEiHFrR 5AWKH9zLn53eoexWlnHWK2NbKK+kvw7pGi1m+mRGiCvKgEqcG21uJ7COiFpSl1s/d6+q cQXiYqnRtT+2h/tDhV2Y72A5+Z9RT5Z5MHBqj5nReLxx6h24YJPD2/ko15z4t4K4m8za TXzAnBkjWl15zuD9ysMtNJ7hVf/5zt6YS+MK+E8w0puSnd624Qff50W/2R00XI7voPss 5XG4nH1nmCFINq0uTpjzU3qlj2/YIJwISorO7epmtq46YWb/eAjERMZwF58eXoOHx5ni 8zHQ== 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=/vGtPLORiS4o8oqYCG9wkvpb33rPtGx/ltb6A3ipjGQ=; b=aJEicWm/ciTZ5xD1KHQbIze+OtUAwVImsnlreBsM3pQ2/ef3B6eaH/aBsSSZQeYei8 dsWmuPZlS6GUyqJhkUSHnrrQULiK6P3YdSWD7ORyfKfx2kH+SESn/TvO4Awe/iGOAERQ oeG6bIot29SfGI3t47dqVFy0uXlE0YA8Rh1CnPqXJW4Fo+k2cHETb0gtgvBVhGRTWlkL r5DSF/iCZM88KKRshngIsIb2xvYjQ07C9X8GRe2DJh6RMRSuEi049wTtijV15w9y+Ng0 ZnMZXSEDpeoVpX9jKB96K1upyWsN5wFS3fGaSXwy8pTDz2Z169djeUYRD4T2YhySEWs3 OtrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nHiXddQH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y7si7362701pge.313.2022.01.21.11.46.09; Fri, 21 Jan 2022 11:46:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nHiXddQH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1355908AbiASQMb (ORCPT + 99 others); Wed, 19 Jan 2022 11:12:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355602AbiASQMZ (ORCPT ); Wed, 19 Jan 2022 11:12:25 -0500 Received: from mail-ot1-x333.google.com (mail-ot1-x333.google.com [IPv6:2607:f8b0:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55814C06161C for ; Wed, 19 Jan 2022 08:12:24 -0800 (PST) Received: by mail-ot1-x333.google.com with SMTP id x31-20020a056830245f00b00599111c8b20so3721370otr.7 for ; Wed, 19 Jan 2022 08:12:24 -0800 (PST) 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=/vGtPLORiS4o8oqYCG9wkvpb33rPtGx/ltb6A3ipjGQ=; b=nHiXddQHq9egKu5SATqkmHcrBRKx9lhhZfmvBf+DprzabfEu0LqYw1j02SXdqAS7Nj UdXFib4lYSZxC5Qq9AcDMgfNvM9NCVWM3RyGTWnHgni5aAt6Pxr2ivoAOB3vFoCcs2yI KeggiddGsTSc27w3URi+hv3L2Rd420D0Tmp/Rxp7MmXv7JhWP/aRire0Oco8B7w7TR3t rIBQ8y7IPN24KN0DlLCwkuZ1bZToocSankSWBfD/IiVyf+oY/Vpw84P38E0L0sTWnKEs 5Q+VlJFueyJ1lDl/3fTkymPyK4umYQX0ByT7Enotzhg4h6EoA1NhZ8f4wX+THFCl0pU2 l3Dg== 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=/vGtPLORiS4o8oqYCG9wkvpb33rPtGx/ltb6A3ipjGQ=; b=pYPt2veVDT/V9OOaa2uWAfJQKPFs7BxB9vrkudwfrl8E8HHNwCKVvvmZksTD0cC1GC +Xris19PNWt0/jDzWWPy2x99RCUiP1MDIflJeoxF3eMnrqS3rajwIucs4JxdRwkVRIkq zxILg+Ab7iyrkwoa+Qzu+Br3+MuqHAJISGqAP4bQmKOGH+gPm/ei0mT/kYPXiBrj1s8k QCawJhxGfe57icJNNghGscGUt9XOy2VPBc+IT81sJ7Ebx6Qmv1Yv6nhJZHYudhJpF7ij WJ1st+skJwqHj3PTNtDstPT/G73xsgmIW27GayRzR4+nbh/33seGqiITVgYAV6xBwQRT OLdA== X-Gm-Message-State: AOAM5322iwjSa1xxp2CJDjNz8qNg22tpQrHTT+NyUapxE6WY93codwxV SVx1pm0SE9nlDhGWSVvDK8Q94fIVzrge/TITpcjRVA== X-Received: by 2002:a9d:4719:: with SMTP id a25mr1385525otf.35.1642608743667; Wed, 19 Jan 2022 08:12:23 -0800 (PST) MIME-Version: 1.0 References: <20220104140913.29699-1-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: <20220104140913.29699-1-prabhakar.mahadev-lad.rj@bp.renesas.com> From: Linus Walleij Date: Wed, 19 Jan 2022 17:12:11 +0100 Message-ID: Subject: Re: [PATCH v2] pinctrl: at91-pio4: Use platform_get_irq() to get the interrupt To: Lad Prabhakar Cc: Ludovic Desroches , Nicolas Ferre , Alexandre Belloni , Rob Herring , Andy Shevchenko , Prabhakar , linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 4, 2022 at 3:10 PM Lad Prabhakar wrote: > platform_get_resource(pdev, IORESOURCE_IRQ, ..) relies on static > allocation of IRQ resources in DT core code, this causes an issue > when using hierarchical interrupt domains using "interrupts" property > in the node as this bypasses the hierarchical setup and messes up the > irq chaining. > > In preparation for removal of static setup of IRQ resource from DT core > code use platform_get_irq(). > > While at it, replace the dev_err() with dev_dbg() as platform_get_irq() > prints an error message upon error. > > Signed-off-by: Lad Prabhakar Patch applied! Yours, Linus Walleij