From: Svyatoslav Ryhel <clamor95@gmail.com>
To: "Linus Walleij" <linus.walleij@linaro.org>,
"Jonathan Cameron" <jic23@kernel.org>,
"David Lechner" <dlechner@baylibre.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"Andy Shevchenko" <andy@kernel.org>,
"Svyatoslav Ryhel" <clamor95@gmail.com>
Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v1 0/1] drivers: iio: mpu3050: use dev_err_probe for regulator request
Date: Thu, 22 Jan 2026 17:34:24 +0200 [thread overview]
Message-ID: <20260122153425.8751-1-clamor95@gmail.com> (raw)
Regulator requesting may result in deferred probing error which will
abort driver probing. To avoid this just use dev_err_probe which handles
deferred probing.
Addresses this situation:
[ 2.250875] mpu3050-i2c 2-0068: Cannot get regulators
Svyatoslav Ryhel (1):
drivers: iio: mpu3050: use dev_err_probe for regulator request
drivers/iio/gyro/mpu3050-core.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
--
2.51.0
next reply other threads:[~2026-01-22 15:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-22 15:34 Svyatoslav Ryhel [this message]
2026-01-22 15:34 ` [PATCH v1 1/1] " Svyatoslav Ryhel
2026-01-22 15:58 ` Andy Shevchenko
2026-01-22 20:33 ` 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=20260122153425.8751-1-clamor95@gmail.com \
--to=clamor95@gmail.com \
--cc=andy@kernel.org \
--cc=dlechner@baylibre.com \
--cc=jic23@kernel.org \
--cc=linus.walleij@linaro.org \
--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®