tmp_suning_uos_patched/drivers/w1
David Fries da78b7e74a w1: ds2490 USB setup fixes
Calling usb_reset_configuration after usb_set_interface resets the
interface that was just selected, so call reset first.
Using alternative 3 greatly speeds the one wire search.
alt 0 or 1, 10ms int, 23.16 seconds
alt 2 or 3,  1ms int, 2.99 to 3.05 seconds

Use usb_interrupt_msg not usb_bulk_msg as it is an interrupt pipe
(bulk worked, it was just technically the wrong call).

Signed-off-by: David Fries <David@Fries.net>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-02-07 15:40:18 -08:00
..
masters w1: ds2490 USB setup fixes 2014-02-07 15:40:18 -08:00
slaves w1: slaves: w1_ds2781: convert to use w1_family_ops.groups 2013-08-22 11:05:44 -07:00
Kconfig Kconfig: replace "--- help ---" with "---help---" 2012-05-07 15:01:22 +02:00
Makefile
w1_family.c
w1_family.h w1: add attribute groups to struct w1_family_ops 2013-08-22 11:05:42 -07:00
w1_int.c w1: process w1 netlink commands in w1_process thread 2014-02-07 15:40:17 -08:00
w1_int.h
w1_io.c w1: Disable irqs during 1-wire bus operations, extend 1-wire reset pulse 2012-04-11 16:44:10 -07:00
w1_log.h
w1_netlink.c w1: reply only to the requester portid 2014-02-07 15:40:17 -08:00
w1_netlink.h w1: new netlink commands, add/remove/list slaves 2014-02-07 15:40:17 -08:00
w1.c w1: process w1 netlink commands in w1_process thread 2014-02-07 15:40:17 -08:00
w1.h w1: reply only to the requester portid 2014-02-07 15:40:17 -08:00