]> git.ipfire.org Git - thirdparty/u-boot.git/commit
w1: fix occasional enumeration failure
authorMartin Fuzzey <martin.fuzzey@flowbird.group>
Fri, 23 Nov 2018 09:53:06 +0000 (10:53 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 6 Dec 2018 22:15:15 +0000 (17:15 -0500)
commitb95938117cb2bd9b020305a58bd748a48e58d30a
treefe8fe9b422e6f9ae15751b9a6ba34862c13f112d
parent57dbc151437b36cc1105857d222df28b095236d7
w1: fix occasional enumeration failure

Sometimes enumeration fails (about 1 in 50 times on my custom board).

The underlying reason is probably electrical but Linux does not have
the problem.

Comparing the Linux / u-boot implementations shows that Linux
retries the error case whereas u-boot aborts early.

Removing the early abort in u-boot fixes the problem.

Signed-off-by: Martin Fuzzey <martin.fuzzey@flowbird.group>
drivers/w1/w1-uclass.c