From: David Fries Date: Thu, 16 Jan 2014 04:29:22 +0000 (-0600) Subject: w1: ds2490 USB setup fixes X-Git-Tag: v3.15-rc1~141^2~94 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da78b7e74ac5964015bed78d27e1fca8bae8e29a;p=pandora-kernel.git 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 Acked-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed