]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
W1: ds2490: Increase timeout when waiting for status
authorAlexander Stein <alexanders83@web.de>
Sat, 25 Oct 2014 12:26:13 +0000 (14:26 +0200)
committerJiri Slaby <jslaby@suse.cz>
Wed, 10 Jun 2015 13:20:26 +0000 (15:20 +0200)
commit62db23cfb6e7a4860684be9d328fd8e22b4f193a
treea5bfe9257a2e04491c083167890aaa8b18de9f13
parent83de5204d38767e26524ad04e76fdc94ddd61bca
W1: ds2490: Increase timeout when waiting for status

commit d25221525e0e2cfd70e4ec7216549c06609a8bd2 upstream.

Adjust the bulk message timeout to the other ones (1000ms). Otherwise the
following dmesg errors can be seen on a Raspberry Pi:
[   31.492386] Failed to read 1-wire data from 0x81: err=-110.
[   31.504168] 0x81: count=-110, status:
[   31.613404] Failed to read 1-wire data from 0x81: err=-110.
[   31.621915] 0x81: count=-110, status:
[   43.260968] Failed to read 1-wire data from 0x81: err=-110.
[   43.270998] 0x81: count=-110, status:
[   43.379959] Failed to read 1-wire data from 0x81: err=-110.
[   43.388854] 0x81: count=-110, status:

Signed-off-by: Alexander Stein <alexanders83@web.de>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/w1/masters/ds2490.c