From: Jonathan Cameron <jic23@kernel.org>
To: Joshua Crofts <joshua.crofts1@gmail.com>
Cc: "Antoniu Miclaus" <antoniu.miclaus@analog.com>,
"Marcelo Schmitt" <marcelo.schmitt@analog.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"Michael Hennerich" <Michael.Hennerich@analog.com>,
"David Lechner" <dlechner@baylibre.com>,
linux-iio@vger.kernel.org, linux@analog.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] iio: accel: adxl367: resolve interrupt mapping before device setup
Date: Sun, 13 Sep 2026 23:08:35 +0100 [thread overview]
Message-ID: <20260913230835.717cffd9@jic23-hlaptop> (raw)
In-Reply-To: <20260907165637.0000348b@gmail.com>
On Mon, 7 Sep 2026 16:56:37 +0200
Joshua Crofts <joshua.crofts1@gmail.com> wrote:
> On Mon, 7 Sep 2026 11:23:13 +0300
> Antoniu Miclaus <antoniu.miclaus@analog.com> wrote:
>
> > adxl367_set_int_map_reg() uses fwnode_irq_get_byname(), which can return
> > -EPROBE_DEFER. Running it after adxl367_setup() made every deferred probe
> > repeat the reset and power the device up needlessly.
> >
> > Move it ahead of the regulator enable and reset; the lookup only reads
> > firmware properties, so a deferral now returns before any hardware access.
> >
> > Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
> > ---
>
> Reviewed-by: Joshua Crofts <joshua.crofts1@gmail.com>
>
Sensible little optimization.
Applied,
J
prev parent reply other threads:[~2026-09-13 22:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-07 8:23 Antoniu Miclaus
2026-09-07 14:56 ` Joshua Crofts
2026-09-13 22:08 ` Jonathan Cameron [this message]
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=20260913230835.717cffd9@jic23-hlaptop \
--to=jic23@kernel.org \
--cc=Michael.Hennerich@analog.com \
--cc=antoniu.miclaus@analog.com \
--cc=dlechner@baylibre.com \
--cc=joshua.crofts1@gmail.com \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@analog.com \
--cc=marcelo.schmitt@analog.com \
--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®