Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp960988rdb; Fri, 22 Dec 2023 09:55:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IGMMj2h7vTRpb1iHUYObqAXxFmOzgD5JwGTeLdpklr/9AnmhO3X6iViNv4QpQs0SdzUvkwH X-Received: by 2002:a17:903:1d2:b0:1d4:2956:c285 with SMTP id e18-20020a17090301d200b001d42956c285mr661328plh.137.1703267721358; Fri, 22 Dec 2023 09:55:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703267721; cv=none; d=google.com; s=arc-20160816; b=XXRAVXECEidzTi8v2VdTHk8hsAlkwKUXr4ziy08o50neEzN50KudYNpBsCHakx5Mb/ ELWl5AuzRBYw1EQIa18yt2o2Z8P4Brg05k8TOSnn3MwR9DClzjwFD7F4iwxixA1FvmdI OerXsZDcvgH3UuXobLddCIWkY63CF6fxUNxJexPZ4XeXbnlMmID+zHlQbXzAfNpWfC0P pYC7FKAvuUotk3wsQjKHdLlapZ4DF/o1o0cnRfeZ1myuxVkQfBqOGCYvPnAivOu6JTyD MYQ0NMkJ49KP1gk8jjEFJQH3Xts+ZgNijiI/I6qiihsAXuTTlHF7JrE/brOAuHEQ0nf3 FqgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=oj0ljpZLwr9kojU6Bm2y0A367iD4r4CItsptTMa/Oic=; fh=7grMHCL8HT6IhJVQLNS2HViLoEyiwM915TZ1QznE9Qo=; b=bxqDx7OBqALiBU4D7kP9X+6/S1v9RamIUZ4LyydVM7o83RKXW++kHKHkeVrXPGNI2f ZmGnHi8ebaTcNLeTORxdU7akmK7m0a9VZwQzQOansDuX7XzlDN69NQ8Q7mYrgr90do4l rXrVl4P0yzglq6tx1RgeKZjoHbO0c0WmGNsPfDGcJx6lLy8sTpLTux/9szNT75eysNtk Z63NoQloNd2zIfIq2BXxYuEaSsEVIzozXAMAH5TAPgz90nGad6LLiFGPN65Ij/D5rJzQ CGM6fQhMvVQ0yVxpyX2Lv8nEmiEAGDp53sGnA1RqRAjzriV5CmsJOAKUuw1foJPe5vPi M1ug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="IAjK9W1/"; spf=pass (google.com: domain of linux-kernel+bounces-9988-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9988-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id p1-20020a170902e74100b001d4027dcf15si2255276plf.241.2023.12.22.09.55.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 09:55:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9988-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="IAjK9W1/"; spf=pass (google.com: domain of linux-kernel+bounces-9988-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9988-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 795B0B21A27 for ; Fri, 22 Dec 2023 17:55:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 55B7C28E39; Fri, 22 Dec 2023 17:55:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="IAjK9W1/" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 93C9A28DDA for ; Fri, 22 Dec 2023 17:54:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-33686649b72so1959542f8f.3 for ; Fri, 22 Dec 2023 09:54:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703267696; x=1703872496; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=oj0ljpZLwr9kojU6Bm2y0A367iD4r4CItsptTMa/Oic=; b=IAjK9W1/R3E2nOC/NDIbNxTnu2fr8DnZ98+2uz9LmUhe8lpUxbE51146m/zI+FtW1U akISO4Kw6hoc1aWFyHRMowlwZ0748akqosMRBl/qaUMtcRG6EZZ1l8LC21uh3ybpa1tJ TWkZGEC2e3pymvvPXj9y82NPE36rRMb0oUDA0sRD8UlBsgWOoQcGhfXbeoe3Gs4kOrPo 2uXD498la0Z+wLx6SRNls3as+r+/VGuCqKT24NZG7HVsvFwa6gtOKEphz7D4HH/C4esn kHKruQ+dEd9zNt+m7FP5oDtu9znM5ixktLWDTYE+VkSK6POiJYKDa1KtO+XfhE7Y3zk+ 4nmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703267696; x=1703872496; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=oj0ljpZLwr9kojU6Bm2y0A367iD4r4CItsptTMa/Oic=; b=Mj1aBCHm/5PWJefKx3mFnqkuXr2rBeXlrrK45aUd9XDRLNCoqwbniI+smIiL4A8RaJ mNt5YMEpnZ78/2WvNa0dg2oJSx3mKIxvlWCPr+ZwzqWWVzQ7Yi79giH+vLqphIZqHc3w amnO9jt1ssko0CtKHx07YCdN4EaqejvtE/xs+qe4NWuT2gZTTE1IdX1RYzI4bJXWbn/Y TQbn60gVLdg0CXM+ha+FpHtBEB7OIn6Pl+3LTZyBfkRrMKeJhVjeq4mvk1M81A5+Hdqn iBwSnK4tl8khJFpTiSB/w0gRBjgscXFAdNUTDRPRopVlPiSoGfwshZWIMB+dAoRfB4+s EevA== X-Gm-Message-State: AOJu0Ywzs35YyctRm0coNE5S5tS3wouh/6+IXqhPoV4l9L2iEyxsloEj 6lo7HNPb1N8awT6LOLUTmcg= X-Received: by 2002:adf:f78f:0:b0:336:6e22:672c with SMTP id q15-20020adff78f000000b003366e22672cmr1029458wrp.88.1703267695558; Fri, 22 Dec 2023 09:54:55 -0800 (PST) Received: from jernej-laptop.localnet (82-149-12-148.dynamic.telemach.net. [82.149.12.148]) by smtp.gmail.com with ESMTPSA id d17-20020adfe2d1000000b0033673ddd81csm4801113wrj.112.2023.12.22.09.54.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 09:54:55 -0800 (PST) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: Andre Przywara , Lee Jones Cc: 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 Date: Fri, 22 Dec 2023 18:54:53 +0100 Message-ID: <4953611.0VBMTVartN@jernej-laptop> In-Reply-To: <20231221152553.GM10102@google.com> References: <20231220115412.65bbc8c7@donnerap.manchester.arm.com> <20231221152553.GM10102@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Dne =C4=8Detrtek, 21. december 2023 ob 16:25:53 CET je Lee Jones napisal(a): > On Wed, 20 Dec 2023, Andre Przywara wrote: >=20 > > On Wed, 20 Dec 2023 15:23:17 +0800 > > fuyao wrote: > >=20 > > Hi, > >=20 > > > __platform_get_irq_byname determinies whether the interrupt > > > number is 0 and returns EINVAL. > >=20 > > can you please say what this fixes, exactly? Is something not working at > > the moment? Can you please provide parts of the error message? > >=20 > > And maybe expand the explanation a bit more? For instance mention that = the > > identifiers are used as IRQ resource numbers, where 0 is treated specia= lly. > >=20 > > Cheers, > > Andre > >=20 > > >=20 > > > Signed-off-by: fuyao >=20 > 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=3Dd4563201f33a022fc0353033d9dfeb1606a88330 ? Best regards, Jernej >=20 > > > Acked-by: Jernej Skrabec > > > --- > > > include/linux/mfd/sun4i-gpadc.h | 4 ++-- > > > 1 file changed, 2 insertions(+), 2 deletions(-) > > >=20 > > > diff --git a/include/linux/mfd/sun4i-gpadc.h b/include/linux/mfd/sun4= i-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 > > > =20 > > > -#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 > > > =20 > > > /* 10s delay before suspending the IP */ > > > #define SUN4I_GPADC_AUTOSUSPEND_DELAY 10000 > >=20 >=20 >=20