Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1582773pxv; Fri, 2 Jul 2021 07:17:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUxi4JCkfgIo9F+yg79YwJsKYX1fO0PrtuDAYKVSHdf+dQJNrWyJj7iyqoM+dKaUDt30JL X-Received: by 2002:a05:6402:4408:: with SMTP id y8mr7206754eda.55.1625235465806; Fri, 02 Jul 2021 07:17:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625235465; cv=none; d=google.com; s=arc-20160816; b=DJLUtiXOE/ZWHmDAPFplQnNSuYuQTLo/C0eeHVTC40YtL/3WEivZGvV8kZq/55pZLu VFX8YNli0ivSuzlGWlaF6GsfocmhSuRiX1JNcd8LQ4PVHW72GU7EoLBXxrYqkiudhPZI vjrrtq5x9QtEusfnUsbHZfLEffE9uuEae710x+6+SP5lfoNKySFkNF9K3mA1srpJQU3d b2podc8OfvVoqC8ivx/khmhMPLZWaL2HqgR54qmrw5z+GoBAnu/8P0Q8HjgYuSkbaaP3 Xi7QDWbjcwe2Nl3wrNhAwuKK/qbg2BAgqnF6DiGKmdYnIRR00aC48INXZcSewNVCVCfw MDLQ== 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=s0s4DqDIqzRLbSlLCSU+dL2ttfDuziZyFULjeH0OEQo=; b=bAXfR89F2IhqK82gqCZXGLtixGILGUIlU+uWv05U4Ya6NWqVADTiHFfG6EQ91a14Ze ysnsTcCI0TullcW8XB2qxfwG/bGV+SZL1DTL5YHI/SWe0rRvX0iIQnFDmtPdo8H98YdD IiQJiwvQ8+TCuBFUKOedCPAPLTC+NVWbexKvHcJg5LlRFf296bLwH3Vj0ZPDQq8+luzr WjofuYiSFGZq2fHId+V8PudMErRS3X8MmBJcBFPkTcjkb+QI73w4gsFwJou5MUDMxjtT bdI/h6/OfwSfmNSl9pTDIjVOdbLegH5VBtHQPhSF5ARvBcYU4o6jSqjyw+yVGmPA2M4T MaIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fE3q75o1; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ht7si3614315ejc.487.2021.07.02.07.17.20; Fri, 02 Jul 2021 07:17:45 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=fE3q75o1; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232834AbhGBORK (ORCPT + 99 others); Fri, 2 Jul 2021 10:17:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232704AbhGBORK (ORCPT ); Fri, 2 Jul 2021 10:17:10 -0400 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70E33C061762; Fri, 2 Jul 2021 07:14:38 -0700 (PDT) Received: by mail-pf1-x42d.google.com with SMTP id x16so9007676pfa.13; Fri, 02 Jul 2021 07:14:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=s0s4DqDIqzRLbSlLCSU+dL2ttfDuziZyFULjeH0OEQo=; b=fE3q75o1U1ThnTjqKfSQFsMQW7Ml5hc+MRpqGHAB4lG4I14PnSpL/LTE4ui7iEEivO tlJCigHBWFWMWGGx96iXKltou+BK6q465zvYNJmqmfweTql1sEKJpS8LDsTssf497JKI O+wXqCumWYqrk0NhKYNhFO5qQje2QVpwW7u/NnJEVxv3rz6ooU0cXhicz8GHyqzOXk/+ 59erDdV/a5l3JKE7Tks4E6am9MTWhWi2iDSdIa7ScI1JoV7FNe4blxSG75gUB6AWm+m6 bJXlqPOL6j66LUlas5Ctai2i3xTkW0tHxVVlXxEhTdEWxzU20MygMSdSCaqXn26TzTNf B7eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=s0s4DqDIqzRLbSlLCSU+dL2ttfDuziZyFULjeH0OEQo=; b=HSP9yKOeaH3psj2A237sDXPaDSC2qwtE8NPkgguz8Y5yBokULgV8bQpbmi29cNVerw u/Q13096VOtcU03txz03YXKrgh1MQlc0UPeUgZq2hBTPVXGE5LLtbRUQc94pndgKBdBa h2+LRdwNyfNUiXQJB40MtqMd2vqoFi3xKX2Pqn+77mejYINjAYTe+e4yCp+0SvoiJDxp nPoVP6k01b+rwyzo3+MCOxeeBq0fim0VcXZ4DcqI+BBGIOqmNmAeKCPuqe08VcxTWTEj KdTCxwnQMwoCUDweVGofPQXHSbBLG7LXUTb/R+RbLSfj6rOCSrecfoXcP0jVKUwOJv+b NxYw== X-Gm-Message-State: AOAM530/ujTcZ98wchKeDkxJeBMch9PeabAyetLaPoZSKUYthWKDzboa SP9k50+7b2Gm/9XkgfId7ON1zW7Pct6wEKerLBc= X-Received: by 2002:a63:f609:: with SMTP id m9mr289975pgh.74.1625235277913; Fri, 02 Jul 2021 07:14:37 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Andy Shevchenko Date: Fri, 2 Jul 2021 17:14:00 +0300 Message-ID: Subject: Re: [PATCH v2 1/7] gpio: tqmx86: really make IRQ optional To: Andrew Lunn Cc: Matthias Schiffer , Linus Walleij , Bartosz Golaszewski , Lee Jones , "open list:GPIO SUBSYSTEM" , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 2, 2021 at 4:45 PM Andrew Lunn wrote: > On Fri, Jul 02, 2021 at 02:23:47PM +0200, Matthias Schiffer wrote: > > The tqmx86 MFD driver was passing IRQ 0 for "no IRQ" in the past. This > > causes warnings with newer kernels. > > > > Prepare the gpio-tqmx86 driver for the fixed MFD driver by handling a > > missing IRQ properly. ... > It is a shame platform_get_irq_optional() does something different to > all the other _optional() calls :-( Exactly my point when I proposed the change to it! -- With Best Regards, Andy Shevchenko