w1: ds2490 fix and enable hardware search
authorDavid Fries <David@Fries.net>
Thu, 16 Jan 2014 04:29:23 +0000 (22:29 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Feb 2014 23:40:18 +0000 (15:40 -0800)
commitd53f0a2c0574e6414dceeec59ae5a9e749bd058b
tree7cd0c86e616ea1a271e13cff8aad611e51c469d2
parentda78b7e74ac5964015bed78d27e1fca8bae8e29a
w1: ds2490 fix and enable hardware search

The hardware search was failing without the COMM_RST flag.  Enabled
the flag and rewrote the function to handle more than one buffer of
results and to continuing where the search left off.  Remove hardware
search note from the limitations now that it works.  The "w1: ds2490
USB setup fixes" change went from 23.16 seconds to about 3 seconds,
this takes the time for the search down to .307346 seconds.

Signed-off-by: David Fries <David@Fries.net>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/w1/masters/ds2490
drivers/w1/masters/ds2490.c