1. 23 Jun, 2016 1 commit
    • Cameron Gutman's avatar
      Input: xpad - fix oops when attaching an unknown Xbox One gamepad · c7f14293
      Cameron Gutman authored
      Xbox One controllers have multiple interfaces which all have the
      same class, subclass, and protocol. One of the these interfaces
      has only a single endpoint. When Xpad attempts to bind to this
      interface, it causes an oops when trying initialize the output URB
      by trying to access the second endpoint's descriptor.
      
      This situation was avoided for known Xbox One devices by checking
      the XTYPE constant associated with the VID and PID tuple. However,
      this breaks when new or previously unknown Xbox One controllers
      are attached to the system.
      
      This change addresses the problem by deriving the XTYPE for Xbox
      One controllers based on the interface protocol before checking
      the interface number.
      
      Fixes: 1a48ff81 ("Input: xpad - add support for Xbox One controllers")
      Signed-off-by: default avatarCameron Gutman <aicommander@gmail.com>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      c7f14293
  2. 19 Jun, 2016 2 commits
  3. 18 Jun, 2016 2 commits
  4. 01 Jun, 2016 1 commit
  5. 27 May, 2016 5 commits
  6. 20 May, 2016 1 commit
  7. 17 May, 2016 1 commit
  8. 15 May, 2016 2 commits
  9. 14 May, 2016 11 commits
  10. 13 May, 2016 14 commits