From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Cong Nguyen <congnt264@gmail.com>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] regulator: qcom-labibb: use the platform device in dev_err_probe()
Date: Mon, 30 Nov 2026 09:25:00 +0100 [thread overview]
Message-ID: <134a9277-97e7-434f-8bdc-bd79192b2d9e@oss.qualcomm.com> (raw)
In-Reply-To: <20261128164039.1831620-1-congnt264@gmail.com>
On 11/28/26 5:40 PM, Cong Nguyen wrote:
> When the short-circuit interrupt cannot be found, the probe loop calls
> dev_err_probe() with vreg->dev. vreg->dev is only set a few lines further
> down, so at this point it is still NULL.
>
> If of_irq_get_byname() returned -EPROBE_DEFER, dev_err_probe() passes the
> device to device_set_deferred_probe_reason(), which calls
> dev_driver_string() on it.
>
> Pass the platform device, which probe already has in dev.
>
> Fixes: 390af53e0411 ("regulator: qcom-labibb: Implement short-circuit and over-current IRQs")
> Signed-off-by: Cong Nguyen <congnt264@gmail.com>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
next prev parent reply other threads:[~2026-11-30 8:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-28 16:40 Cong Nguyen
2026-11-30 8:25 ` Konrad Dybcio [this message]
2026-11-30 12:50 ` Mark Brown
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=134a9277-97e7-434f-8bdc-bd79192b2d9e@oss.qualcomm.com \
--to=konrad.dybcio@oss.qualcomm.com \
--cc=broonie@kernel.org \
--cc=congnt264@gmail.com \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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®