xpp: fix usb "clear_halt" problem
authorOron Peled <oron.peled@xorcom.com>
Sun, 11 May 2014 13:41:46 +0000 (09:41 -0400)
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>
Sun, 11 May 2014 15:03:11 +0000 (18:03 +0300)
commitca7c04e9cbdfc182c9c9672dec884f5ac87f90b9
tree7ed02beb7eafe49f3ec6ba887e7b2114fdc613d3
parentae02edacb44c3fe0e7f43fc58f4265e922592cad
xpp: fix usb "clear_halt" problem

 * Don't use "usb_clear_halt" by default anymore
   - It caused problems with specific devices in the past
   - Now it cause problems with specific servers as well (64 bits, USB3)

 * Add an "XTALK_OPTIONS" environment variable to pass options:
   - Use it to implement a "use-clear-halt" boolean option that
     restore original behavior.
   - Also use it for "no-lock" option which replace the legacy
     environment variable "XUSB_NOLOCK".
xpp/xtalk/xusb.c