mbox series

[0/1] Fix ltc2983 probing

Message ID 20210810145653.295397-1-nuno.sa@analog.com (mailing list archive)
Headers show
Series Fix ltc2983 probing | expand

Message

Nuno Sa Aug. 10, 2021, 2:56 p.m. UTC
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

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

 drivers/iio/temperature/ltc2983.c | 31 +++++++++++++++++++------------
 1 file changed, 19 insertions(+), 12 deletions(-)