commit | c50d09a86172073f55ebac0b92ad5a75907d64e7 | [log] [tgz] |
---|---|---|
author | Mariusz Bialonczyk <manio@skyboo.net> | Mon May 20 09:05:56 2019 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri May 24 20:21:43 2019 +0200 |
tree | 189a69b66881d9e208565777a07f50a8eee763ac | |
parent | ae2ee27aa985232f66421d7cd1c7f4b87c7dba7d [diff] |
w1: ds2413: add retry support to state_read() 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: Mariusz Bialonczyk <manio@skyboo.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>