Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp2233989rdb; Mon, 25 Dec 2023 01:54:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IHYBepsLpCQbmKqto1n1nSgeJ8sJy4oRiJxTEAhQjgzVf8obRrtmiJ8WKI4DnOgRKM5XX+V X-Received: by 2002:a05:6a21:9989:b0:195:6a33:a421 with SMTP id ve9-20020a056a21998900b001956a33a421mr726151pzb.108.1703498061856; Mon, 25 Dec 2023 01:54:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703498061; cv=none; d=google.com; s=arc-20160816; b=tJoY0r0NOudNR2WGEEPcEI3qAYnn6UZxmzAvkQmUWDjSz6uFtg1Zh+1Z79eWSQ3692 J5rBr/V0uvh97taTC8XPqzTjZaKVPK49jEL3kNNIT2Se4wTLLO0c5/izrAwMnY2kCzuh 0miBNvReGAj85yDCMz5ZhAghAT0cTuj+1rL9tbIWqSCILTCcMmSDyhYwp3naWvkPlV6L qQqgBBd/7pEUG9HZnpUqr6LEn5V0WtiUwq7ZO9YnZk07tCOYYAQpjVjVDT290nxNFSoR lkgmCpl4njMvFp1ijStQrgmzRC7uU8BjSHrg9+j0eb4wBo9ZUvWH1fTUB8lQebkx7svx mYGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=organization:in-reply-to:content-transfer-encoding :content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:references:mail-followup-to:message-id:subject :cc:to:from:date; bh=KdxUjdHoyNR6//tOHnvHaBa5n6pBZ/jndKQFPiO5AXc=; fh=XVfQPzm2Z1pjG/LCMkmmZusqo+GQKFGMqIWAMKsb9wk=; b=UDpKRFlqHXo5fZq024p0rSOWZDroGPEG2/fQI8mQd+rtKnfQX78Ek/Y7gynS5eaz8W qI6TUA/w2LHlmegJ1yC8EwLGlU5QdItyEjGBWouN3tXCF6GijiCnRybwdh0pkJwV+U6Z OFVL3yfPnCa4IhFpkQ6RI2n7luU5R42FVes9PHjBBr08k9sWO193+0tsJRpmT6IYSdIp E5BLZSApk7Tpvn2DnYaG8gACE+YiSu6CHZWd/XsDM51SXF3S+h3f5JvoP7cxJ8p1YaTZ AaokJYRCpRrLQ9JdZDzsj0Q1o4dVyF7rI8a5F72S72g4t1Chkn1WpbI2ez/tkREerkho +T3g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-10979-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10979-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id ja11-20020a170902efcb00b001d393941ae4si7546768plb.217.2023.12.25.01.54.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Dec 2023 01:54:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10979-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-10979-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10979-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 7B126281898 for ; Mon, 25 Dec 2023 09:54:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7FDDA1D683; Mon, 25 Dec 2023 09:54:16 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from out28-82.mail.aliyun.com (out28-82.mail.aliyun.com [115.124.28.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0E6401798A for ; Mon, 25 Dec 2023 09:54:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sjterm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sjterm.com X-Alimail-AntiSpam:AC=CONTINUE;BC=0.07944658|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_system_inform|0.0484377-0.000797998-0.950764;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047199;MF=fuyao@sjterm.com;NM=1;PH=DS;RN=11;RT=11;SR=0;TI=SMTPD_---.VsRwBJW_1703498043; Received: from localhost(mailfrom:fuyao@sjterm.com fp:SMTPD_---.VsRwBJW_1703498043) by smtp.aliyun-inc.com; Mon, 25 Dec 2023 17:54:03 +0800 Date: Mon, 25 Dec 2023 17:54:03 +0800 From: fuyao To: Jernej =?utf-8?Q?=C5=A0krabec?= , Lee Jones Cc: Andre Przywara , Lee Jones , fuyao , Chen-Yu Tsai , Samuel Holland , linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Maxime Ripard , maijianzhang Subject: Re: [PATCH RESEND] iio: adc: sun4i-gpadc-iio: adaptation interrupt number Message-ID: Mail-Followup-To: Jernej =?utf-8?Q?=C5=A0krabec?= , Lee Jones , Andre Przywara , fuyao , Chen-Yu Tsai , Samuel Holland , linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Maxime Ripard , maijianzhang References: <20231220115412.65bbc8c7@donnerap.manchester.arm.com> <20231221152553.GM10102@google.com> <4953611.0VBMTVartN@jernej-laptop> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4953611.0VBMTVartN@jernej-laptop> Organization: work_work_work On Fri, Dec 22, 2023 at 06:54:53PM +0100, Jernej Škrabec wrote: > Dne četrtek, 21. december 2023 ob 16:25:53 CET je Lee Jones napisal(a): > > On Wed, 20 Dec 2023, Andre Przywara wrote: > > > > > On Wed, 20 Dec 2023 15:23:17 +0800 > > > fuyao wrote: > > > > > > Hi, > > > > > > > __platform_get_irq_byname determinies whether the interrupt > > > > number is 0 and returns EINVAL. > > > > > > can you please say what this fixes, exactly? Is something not working at > > > the moment? Can you please provide parts of the error message? > > > > > > And maybe expand the explanation a bit more? For instance mention that the > > > identifiers are used as IRQ resource numbers, where 0 is treated specially. > > > > > > Cheers, > > > Andre > > > > > > > > > > > Signed-off-by: fuyao > > > > You have to use your full real name as well. > > Isn't that enough after > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d4563201f33a022fc0353033d9dfeb1606a88330 ? Thanks > > Best regards, > Jernej > > > > > > > Acked-by: Jernej Skrabec > > > > --- > > > > include/linux/mfd/sun4i-gpadc.h | 4 ++-- > > > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > > > > > diff --git a/include/linux/mfd/sun4i-gpadc.h b/include/linux/mfd/sun4i-gpadc.h > > > > index ea0ccf33a459..021f820f9d52 100644 > > > > --- a/include/linux/mfd/sun4i-gpadc.h > > > > +++ b/include/linux/mfd/sun4i-gpadc.h > > > > @@ -81,8 +81,8 @@ > > > > #define SUN4I_GPADC_TEMP_DATA 0x20 > > > > #define SUN4I_GPADC_DATA 0x24 > > > > > > > > -#define SUN4I_GPADC_IRQ_FIFO_DATA 0 > > > > -#define SUN4I_GPADC_IRQ_TEMP_DATA 1 > > > > +#define SUN4I_GPADC_IRQ_FIFO_DATA 1 > > > > +#define SUN4I_GPADC_IRQ_TEMP_DATA 2 > > > > > > > > /* 10s delay before suspending the IP */ > > > > #define SUN4I_GPADC_AUTOSUSPEND_DELAY 10000 > > > > > > > > > > > -- CYG Technology.