Skip to content
Commit f57d8057 authored by Mariusz Bialonczyk's avatar Mariusz Bialonczyk Committed by Phil Elwell
Browse files

w1: ds2413: add retry support to state_read()



commit c50d09a8 upstream.

The state_read() was calling PIO_ACCESS_READ once and bail out if it
failed for this first time.
This commit is improving this to trying more times before it give up,
similarly as the write call is currently doing.

Signed-off-by: default avatarMariusz Bialonczyk <manio@skyboo.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5ed88c3d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment