1. 12 Sep, 2012 6 commits
  2. 11 Sep, 2012 1 commit
    • Bjørn Mork's avatar
      USB: option: replace ZTE K5006-Z entry with vendor class rule · ba9edaa4
      Bjørn Mork authored
      Fix the ZTE K5006-Z entry so that it actually matches anything
      
        commit f1b5c997 USB: option: add ZTE K5006-Z
      
      added a device specific entry assuming that the device would use
      class/subclass/proto == ff/ff/ff like other ZTE devices. It
      turns out that ZTE has started using vendor specific subclass
      and protocol codes:
      
      T:  Bus=01 Lev=01 Prnt=01 Port=03 Cnt=01 Dev#=  4 Spd=480  MxCh= 0
      D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
      P:  Vendor=19d2 ProdID=1018 Rev= 0.00
      S:  Manufacturer=ZTE,Incorporated
      S:  Product=ZTE LTE Technologies MSM
      S:  SerialNumber=MF821Vxxxxxxx
      C:* #Ifs= 5 Cfg#= 1 Atr=c0 MxPwr=500mA
      I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=86 Prot=10 Driver=(none)
      E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
      E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
      I:* If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=02 Prot=05 Driver=(none)
      E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
      E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
      I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=02 Prot=01 Driver=(none)
      E:  Ad=83(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
      E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
      E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
      I:* If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=06 Prot=00 Driver=qmi_wwan
      E:  Ad=85(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
      E:  Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
      E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
      I:* If#= 4 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
      E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
      E:  Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
      
      We do not have any information on how ZTE intend to use these
      codes, but let us assume for now that the 3 sets matching
      serial functions in the K5006-Z always will identify a serial
      function in a ZTE device.
      
      Cc: Thomas Schäfer <tschaefer@t-online.de>
      Cc: stable <stable@vger.kernel.org>
      Signed-off-by: default avatarBjørn Mork <bjorn@mork.no>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      ba9edaa4
  3. 10 Sep, 2012 3 commits
    • Pavankumar Kondeti's avatar
      EHCI: Update qTD next pointer in QH overlay region during unlink · 3d037774
      Pavankumar Kondeti authored
      There is a possibility of QH overlay region having reference to a stale
      qTD pointer during unlink.
      
      Consider an endpoint having two pending qTD before unlink process begins.
      The endpoint's QH queue looks like this.
      
      qTD1 --> qTD2 --> Dummy
      
      To unlink qTD2, QH is removed from asynchronous list and Asynchronous
      Advance Doorbell is programmed.  The qTD1's next qTD pointer is set to
      qTD2'2 next qTD pointer and qTD2 is retired upon controller's doorbell
      interrupt.  If QH's current qTD pointer points to qTD1, transfer overlay
      region still have reference to qTD2. But qtD2 is just unlinked and freed.
      This may cause EHCI system error.  Fix this by updating qTD next pointer
      in QH overlay region with the qTD next pointer of the current qTD.
      Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
      Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Cc: stable <stable@vger.kernel.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      3d037774
    • Bjørn Mork's avatar
      USB: cdc-wdm: fix wdm_find_device* return value · 6a448868
      Bjørn Mork authored
      A logic error made the wdm_find_device* functions
      return a bogus pointer into static data instead of
      the intended NULL no matching device was found.
      
      Cc: stable <stable@vger.kernel.org> # v3.4+
      Cc: Oliver Neukum <oliver@neukum.org>
      Signed-off-by: default avatarBjørn Mork <bjorn@mork.no>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      6a448868
    • Bjørn Mork's avatar
      USB: ftdi_sio: do not claim CDC ACM function · f08dea73
      Bjørn Mork authored
      The Microchip vid:pid 04d8:000a is used for their CDC ACM
      demo firmware application.  This is a device with a single
      function conforming to the CDC ACM specification and with
      the intention of demonstrating CDC ACM class firmware and
      driver interaction.  The demo is used on a number of
      development boards, and may also be used unmodified by
      vendors using Microchip hardware.
      
      Some vendors have re-used this vid:pid for other types of
      firmware, emulating FTDI chips. Attempting to continue to
      support such devices without breaking class based
      applications that by matching on interface
      class/subclass/proto being ff/ff/00.  I have no information
      about the actual device or interface descriptors, but this
      will at least make the proper CDC ACM devices work again.
      Anyone having details of the offending device's descriptors
      should update this entry with the details.
      Reported-by: default avatarFlorian Wöhrl <fw@woehrl.biz>
      Reported-by: default avatarXiaofan Chen <xiaofanc@gmail.com>
      Cc: stable <stable@vger.kernel.org>
      Cc: Alan Cox <alan@linux.intel.com>
      Cc: Bruno Thomsen <bruno.thomsen@gmail.com>
      Signed-off-by: default avatarBjørn Mork <bjorn@mork.no>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      f08dea73
  4. 07 Sep, 2012 1 commit
    • Greg Kroah-Hartman's avatar
      Merge tag 'fixes-for-v3.6-rc4' of... · 23649aa6
      Greg Kroah-Hartman authored
      Merge tag 'fixes-for-v3.6-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb into work-linus
      
      usb: fixes for v3.6-rc4
      
      Here's a rather big set of fixes for v3.6-rc4.
      
      There are some fixes for bugs which have been pending for a long
      time and only now were uncovered, like the musb and dwc3 patches.
      
      We have some remaining fixes for the ep->desc patch series from
      Ido, a fix for renesas DMA usage, IRQ check on musb's DMA and
      an oops fix on musb Host implementation.
      
      All patches have been pending on linux-usb for a long time and
      shouldn't cause any further regressions.
      23649aa6
  5. 06 Sep, 2012 14 commits
  6. 05 Sep, 2012 9 commits
  7. 04 Sep, 2012 2 commits
  8. 01 Sep, 2012 4 commits