linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/1] Fix ltc2983 probing
@ 2021-08-11 13:32 Nuno Sá
  2021-08-11 13:32 ` [PATCH v2 1/1] iio: ltc2983: fix device probe Nuno Sá
  0 siblings, 1 reply; 9+ messages in thread
From: Nuno Sá @ 2021-08-11 13:32 UTC (permalink / raw)
  To: linux-iio; +Cc: Jonathan Cameron, Lars-Peter Clausen, Drew Fustini

The issue was reported by Drew [1]. I tested this fix on a rpi and it
works. It would be nice to have a tested-by tag for this on your
platform Drew.

On top of the reported issue, the patch also fixes device binding and
unbinding since that would also fail (that also obviously failed on
rpi). The same goes for module unloading and loading.

[1]: https://marc.info/?l=linux-iio&m=162829198205250&w=2

Changes in v2:
 * make use of 'regmap_read_poll_timeout()'

Nuno Sá (1):
  iio: ltc2983: fix device probe

 drivers/iio/temperature/ltc2983.c | 30 ++++++++++++++----------------
 1 file changed, 14 insertions(+), 16 deletions(-)

-- 
2.32.0


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

end of thread, other threads:[~2021-08-15 15:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-11 13:32 [PATCH v2 0/1] Fix ltc2983 probing Nuno Sá
2021-08-11 13:32 ` [PATCH v2 1/1] iio: ltc2983: fix device probe Nuno Sá
2021-08-11 16:15   ` Andy Shevchenko
2021-08-12  6:54     ` Sa, Nuno
2021-08-12 18:19       ` Jonathan Cameron
2021-08-12 18:31         ` Drew Fustini
2021-08-13  7:21           ` Sa, Nuno
2021-08-15 15:33         ` Jonathan Cameron
2021-08-12  1:09   ` Drew Fustini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).