public inbox for linux-iio@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/1] drivers: iio: mpu3050: use dev_err_probe for regulator request
@ 2026-01-22 15:34 Svyatoslav Ryhel
  2026-01-22 15:34 ` [PATCH v1 1/1] " Svyatoslav Ryhel
  0 siblings, 1 reply; 4+ messages in thread
From: Svyatoslav Ryhel @ 2026-01-22 15:34 UTC (permalink / raw)
  To: Linus Walleij, Jonathan Cameron, David Lechner, Nuno Sá,
	Andy Shevchenko, Svyatoslav Ryhel
  Cc: linux-iio, linux-kernel

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-01-22 20:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-22 15:34 [PATCH v1 0/1] drivers: iio: mpu3050: use dev_err_probe for regulator request Svyatoslav Ryhel
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox