summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aacraid/commsup.c
diff options
context:
space:
mode:
authorDavid Fries <David@Fries.net>2014-01-15 22:29:22 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-07 15:40:18 -0800
commitda78b7e74ac5964015bed78d27e1fca8bae8e29a (patch)
tree0c50d36115a9e8634a0bc183c8f7be8d8cb202d9 /drivers/scsi/aacraid/commsup.c
parentf28c4e1f31802ec746a1b1dc0d7ec97f8de47024 (diff)
downloadblackbird-obmc-linux-da78b7e74ac5964015bed78d27e1fca8bae8e29a.tar.gz
blackbird-obmc-linux-da78b7e74ac5964015bed78d27e1fca8bae8e29a.zip
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>
Diffstat (limited to 'drivers/scsi/aacraid/commsup.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud