From: Jonathan Cameron <jic23@kernel.org>
To: fuwh1120 <fuwh1120@163.com>
Cc: linux-iio@vger.kernel.org,
"Andreas Kemnade" <andreas@kemnade.info>,
"David Lechner" <dlechner@baylibre.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"Andy Shevchenko" <andy@kernel.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/3] iio: adc: twl6030-gpadc: use devm_add_action_or_reset() to disable IRQ
Date: Sun, 29 Nov 2026 19:18:44 +0000 [thread overview]
Message-ID: <20261129191844.596298ea@jic23-hlaptop> (raw)
In-Reply-To: <2afbebcd.e91.1a2261da1d7.Coremail.fuwh1120@163.com>
On Sun, 29 Nov 2026 15:03:25 +0800 (CST)
fuwh1120 <fuwh1120@163.com> wrote:
> Hi,
>
> At 2026-11-29 07:36:49, "Jonathan Cameron" <jic23@kernel.org> 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
next prev parent reply other threads:[~2026-11-29 19:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 3:53 [PATCH v2 0/3] iio: adc: twl6030-gpadc: convert probe/remove cleanup to devm Wanhui Fu
2026-11-23 3:53 ` [PATCH v2 1/3] iio: adc: twl6030-gpadc: use devm_add_action_or_reset() to disable IRQ Wanhui Fu
2026-11-28 23:36 ` Jonathan Cameron
2026-11-29 7:03 ` fuwh1120
2026-11-29 19:18 ` Jonathan Cameron [this message]
2026-11-23 3:53 ` [PATCH v2 2/3] iio: adc: twl6030-gpadc: switch to devm_iio_device_register() Wanhui Fu
2026-11-23 3:53 ` [PATCH v2 3/3] iio: adc: twl6030-gpadc: delete redundant dev_err() messages in probe Wanhui Fu
2026-11-28 23:37 ` Jonathan Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261129191844.596298ea@jic23-hlaptop \
--to=jic23@kernel.org \
--cc=andreas@kemnade.info \
--cc=andy@kernel.org \
--cc=dlechner@baylibre.com \
--cc=fuwh1120@163.com \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nuno.sa@analog.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®