From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795979929; b=mLu1i4o2knTfvn11gJq6J9lq5cmNXZSDukrz5q1KqbgAYDOylGB7LMPLoCBdMlhpnvqa ZfDK7DUffDFQ1eIqgm+msPhCYYmaDWsIIuwPQ8KBL+gopug7juxtMe47rINdwVT9+y/E6 eLFVr8fzbvN0PNfX4PB2Tg5ZDwyUCgvWqYivJhf4EtIFBYB6EGabnmX1cF7nCHyVcKoZd c7UyzV6bS0/cdeKCeSxo/xPiI+ZBAEQk/8rr1FyLXVEp94CDg0S9kzIrTJR8bMerUgG0J l3Ge0rJIJltsmm5oHlKBg6kIaq2HFy+1VRsEwSWjW6Vxe2PEAIYMh0tE8fuefs9Fk5w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795979929; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: In-Reply-To:References:X-Mailer:MIME-Version:Content-Type: Content-Transfer-Encoding; bh=IGuZe0cxqhfTK7q1+iz/afQ7vRks8XHFVP0kDUQfkxk=; b=X1vKdmZ5+lZ12b0FQ5xFqHE/VpLLqS4umFMQ+O1+jDvvQ2UNYHTLvXumqeVRnvLCDq6u Ese2tzV+W16y9cPeAe1WojkW6DqdCkN9r1LqOk8VX7+DgeQJ7BeJV8LUDPJmIMcPMiLa0 SQWaUCwkj+QXpGkJk+8YnsANitF9ZBDlYSK2bj1VjzxMMV6svgyZIGf3eKYDct2V2ZH+d anQEl0FA3wsKc4/UG0AKkz58UBXJUHwRB4ZOoCWzy3YRDeSU2yfXZb3u9xPWfghhRK647 ouYIi8x5zj4d7xI+22hpNHkyYd+3AtEibiKxpWv8I8+UrlBzvpGY7bQdmtwTt7E7j4Q== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=QdoIVRGa; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D72FA606A31C; Sun, 29 Nov 2026 19:18:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=QdoIVRGa Received: by smtp.kernel.org (Postfix) with ESMTPSA id D49491F00897; Sun, 29 Nov 2026 19:18:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795979929; bh=IGuZe0cxqhfTK7q1+iz/afQ7vRks8XHFVP0kDUQfkxk=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=QdoIVRGaldiowpccMeW64Weh8yGJfHfTnEmshBV5UCyf5UK/GTmJhE1lpUpCcVRmR AjRAWnNpE/aqbnb9EKW/NbLlSZGkQRKJA6wAP0C8BBcjb0+RFapOO/o+OLYXc05259 drNZRK0ixA6vTBc7YOJCZfna02ng78ia7ifagw5LlyhWIz7OxaBidiTqY/70/WoHEL BYINF+1NfVRfRYGyaQI2RmUnJFWy5sBBSoe7oPqqn9hIkqXRKSN0WxvY2+XMhe6+q2 4imY/k4TsjRjOK+aXHKXhdiRZATxMFkqJUXggOg04p8R83OzprNLdvU07YP1kaGuDu p4NBC6C6nMURg== Date: Sun, 29 Nov 2026 19:18:44 +0000 From: Jonathan Cameron To: fuwh1120 Cc: linux-iio@vger.kernel.org, "Andreas Kemnade" , "David Lechner" , Nuno =?UTF-8?B?U8Oh?= , "Andy Shevchenko" , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/3] iio: adc: twl6030-gpadc: use devm_add_action_or_reset() to disable IRQ Message-ID: <20261129191844.596298ea@jic23-hlaptop> In-Reply-To: <2afbebcd.e91.1a2261da1d7.Coremail.fuwh1120@163.com> References: <20261123035331.1871875-1-fuwh1120@163.com> <20261123035331.1871875-2-fuwh1120@163.com> <20261128233649.74d80578@jic23-hlaptop> <2afbebcd.e91.1a2261da1d7.Coremail.fuwh1120@163.com> X-Mailer: Claws Mail 4.4.0 (GTK 3.24.52; x86_64-pc-linux-gnu) X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sun, 29 Nov 2026 15:03:25 +0800 (CST) fuwh1120 wrote: > Hi, > > At 2026-11-29 07:36:49, "Jonathan Cameron" wrote: > > > >This doesn't state anywhere what is being fixed. > >I want to see details on the cause and impact of the bug. > > > > I found this by code inspection. If probe fails after enabling the interrupt, > it remains unmasked after the IRQ handler is released. > > If further conversions are triggered, this could cause unnecessary > interrupts and CPU wakeups. But I haven't verified this. Given the irq will be disabled anyway (by next devm call in unwind order after this one) I suspect the impact is minimal but none the less it does make sense to fix from a consistency point of view if nothing else. Add a little more detail to the commit message for v2. Put that it was code inspection under the --- Thanks, Jonathan > > Thanks, > Wanhui