1. 24 9月, 2008 14 次提交
    • D
      USB: fix EHCI periodic transfers · 01c17142
      David Brownell 提交于
      As noted by Stefan Neis <Stefan.Neis@kobil.com>, we had a recent
      regression with EHCI periodic transfers, in some (seemingly not
      all that common) cases.
      
      The root cause was that the schedule activation was only loosely
      coupled to the addition or removal of transfers, so two different
      execution contexts could both think they had to deactivate (or
      conversely activate) the schedule.  So this fix tightens that
      coupling, managing it more like a refcount.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      01c17142
    • F
      usb: musb: fix include path · 0590d587
      Felipe Balbi 提交于
      headers were moved, fixing.
      Signed-off-by: NFelipe Balbi <felipe.balbi@nokia.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      0590d587
    • F
      USB: Fixing Nokia 3310c in storage mode · 49cd2480
      Filip Joelsson 提交于
      I had trouble connecting my cell phone as a storage device - so I added
      it to the unusual_devs.h list. I had trouble with the bcdDeviceMin and
      Max values - so after some experimenting I made it pretty inclusive.
      
      From: Filip Joelsson <filip@blueturtle.nu>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      49cd2480
    • D
      usb gadget: fix omap_udc DMA regression · c3e3208e
      David Brownell 提交于
      This resolves another regression caused by the "use omap_read/write
      instead of __REG" patch:  the hardware address used for DMA to/from
      the UDC became wrong.  Bug noted by Russell King.
      Reported-by: NRussell King <rmk@arm.linux.org.uk>
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Acked-by: NRussell King <rmk@arm.linux.org.uk>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      c3e3208e
    • O
      USB: update of Documentation/usb/anchors.txt · 697e04db
      Oliver Neukum 提交于
      The extended anchor API is documented
      Signed-off-by: NOliver Neukum <oneukum@suse.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      697e04db
    • G
      USB: fix hcd interrupt disabling · 83a79820
      Geoff Levand 提交于
      Commit de85422b, 'USB: fix interrupt
      disabling for HCDs with shared interrupt handlers' changed usb_add_hcd()
      to strip IRQF_DISABLED from irqflags prior to calling request_irq()
      with the justification that such a removal was necessary for shared
      interrupts to work properly.  Unfortunately, the change in that commit
      unconditionally removes the IRQF_DISABLED flag, causing problems on
      platforms that don't use a shared interrupt but require IRQF_DISABLED.
      This change adds a check for IRQF_SHARED prior to removing the
      IRQF_DISABLED flag.
      
      Fixes the PS3 system startup hang reported with recent Fedora and
      OpenSUSE kernels.
      
      Note that this problem is hidden when CONFIG_LOCKDEP=y (ps3_defconfig),
      as local_irq_enable_in_hardirq() is defined as a null statement for
      that config.
      
      CC: stable <stable@kernel.org>
      Signed-off-by: NGeoff Levand <geoffrey.levand@am.sony.com>
      Cc: Alan Stern <stern@rowland.harvard.edu>
      Cc: Stefan Becker <Stefan.Becker@nokia.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      83a79820
    • T
      USB: Correct Sierra Wireless USB EVDO Modem Device ID · f8834f1f
      Tony Murray 提交于
      I was trying to figure out why my device wasn't supported by the
      drivers/usb/serial/sierra.c driver, while looking throught the device
      IDs I spotted what I believe to be a typo in the device IDs.  Please
      apply the following patch
      
      If you look down further, there is another HP wireless broadband card,
      which has a vendor ID of 03f0, like my device.  Below is my "lsusb -v
      -d 03f0:1b1d".
      
      Bus 001 Device 005: ID 03f0:1b1d Hewlett-Packard
      Device Descriptor:
        bLength                18
        bDescriptorType         1
        bcdUSB               1.10
        bDeviceClass            0 (Defined at Interface level)
        bDeviceSubClass         0
        bDeviceProtocol         0
        bMaxPacketSize0        64
        idVendor           0x03f0 Hewlett-Packard
        idProduct          0x1b1d
        bcdDevice            0.01
        iManufacturer           1 HP
        iProduct                2 HP ev2200 1xEV-DO Broadband Wireless Module
        iSerial                 0
        bNumConfigurations      1
        Configuration Descriptor:
          bLength                 9
          bDescriptorType         2
          wTotalLength           67
          bNumInterfaces          1
          bConfigurationValue     1
          iConfiguration          0
          bmAttributes         0xe0
            Self Powered
            Remote Wakeup
          MaxPower                0mA
          Interface Descriptor:
            bLength                 9
            bDescriptorType         4
            bInterfaceNumber        0
            bAlternateSetting       0
            bNumEndpoints           7
            bInterfaceClass       255 Vendor Specific Class
            bInterfaceSubClass    255 Vendor Specific Subclass
            bInterfaceProtocol    255 Vendor Specific Protocol
            iInterface              3 Data Interface
            Endpoint Descriptor:
              bLength                 7
              bDescriptorType         5
              bEndpointAddress     0x81  EP 1 IN
              bmAttributes            3
                Transfer Type            Interrupt
                Synch Type               None
                Usage Type               Data
              wMaxPacketSize     0x0010  1x 16 bytes
              bInterval             128
            Endpoint Descriptor:
              bLength                 7
              bDescriptorType         5
              bEndpointAddress     0x82  EP 2 IN
              bmAttributes            2
                Transfer Type            Bulk
                Synch Type               None
                Usage Type               Data
              wMaxPacketSize     0x0040  1x 64 bytes
              bInterval               0
            Endpoint Descriptor:
              bLength                 7
              bDescriptorType         5
              bEndpointAddress     0x02  EP 2 OUT
              bmAttributes            2
                Transfer Type            Bulk
                Synch Type               None
                Usage Type               Data
              wMaxPacketSize     0x0040  1x 64 bytes
              bInterval               0
            Endpoint Descriptor:
              bLength                 7
              bDescriptorType         5
              bEndpointAddress     0x84  EP 4 IN
              bmAttributes            2
                Transfer Type            Bulk
                Synch Type               None
                Usage Type               Data
              wMaxPacketSize     0x0040  1x 64 bytes
              bInterval               0
            Endpoint Descriptor:
              bLength                 7
              bDescriptorType         5
              bEndpointAddress     0x04  EP 4 OUT
              bmAttributes            2
                Transfer Type            Bulk
                Synch Type               None
                Usage Type               Data
              wMaxPacketSize     0x0040  1x 64 bytes
              bInterval               0
            Endpoint Descriptor:
              bLength                 7
              bDescriptorType         5
              bEndpointAddress     0x85  EP 5 IN
              bmAttributes            2
                Transfer Type            Bulk
                Synch Type               None
                Usage Type               Data
              wMaxPacketSize     0x0040  1x 64 bytes
              bInterval               0
            Endpoint Descriptor:
              bLength                 7
              bDescriptorType         5
              bEndpointAddress     0x05  EP 5 OUT
              bmAttributes            2
                Transfer Type            Bulk
                Synch Type               None
                Usage Type               Data
              wMaxPacketSize     0x0040  1x 64 bytes
              bInterval               0
      Device Status:     0x0000
        (Bus Powered)
      
      From: Tony Murray <murraytony@gmail.com>
      Cc: Kevin Lloyd <klloyd@sierrawireless.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
      
      f8834f1f
    • R
      USB: Fix the Nokia 6300 storage-mode. · 0a4d7f45
      Richard Nauber 提交于
      This patch fixes that behavior:
      
      ...
      Aug 26 22:39:23 rnauber sd 2:0:0:0: [sda] Sense Key : 0x0 [current]
      Aug 26 22:39:23 rnauber sd 2:0:0:0: [sda] ASC=0x0 ASCQ=0x0
      Aug 26 22:39:23 rnauber sd 2:0:0:0: [sda] Sense Key : 0x0 [current]
      Aug 26 22:39:23 rnauber sd 2:0:0:0: [sda] ASC=0x0 ASCQ=0x0
      Aug 26 22:39:23 rnauber sd 2:0:0:0: [sda] Sense Key : 0x0 [current]
      Aug 26 22:39:23 rnauber sd 2:0:0:0: [sda] ASC=0x0 ASCQ=0x0
      Aug 26 22:39:23 rnauber sd 2:0:0:0: [sda] Sense Key : 0x0 [current]
      ...
      
      
      cat  /proc/bus/usb/devices
      ...
      T:  Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
      D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
      P:  Vendor=0421 ProdID=04fa Rev= 6.01
      S:  Manufacturer=Nokia
      S:  Product=Nokia 6300
      S:  SerialNumber=35XXXXXXXX
      C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA
      I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
      E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
      E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
      ...
      
      From: Richard Nauber <RichardNauber@web.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
      0a4d7f45
    • D
      USB: ehci: fix some ehci hangs and crashes · 0bcfeb3e
      David Brownell 提交于
      I noticed that the "Refactor "if (handshake()) state = HC_STATE_HALT"
      patch from earlier this year perpetuated a potential problem:  it can
      mark the controller as halted when it's still running (but not acting
      as, perhaps wrongly, expected).
      
      That caused some hangs and crashes, rather than more polite failure
      modes of a truly halted controller.  This patch forces a true halt,
      and emits a (previously missing) diagnostic.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      0bcfeb3e
    • K
      USB Serial: Sierra: Device addition & version rev · 73b2c205
      Kevin Lloyd 提交于
      This patch adds devices to the sierra driver and rev's the driver version.
      Signed-off-by: NKevin Lloyd <klloyd@sierrawireless.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      73b2c205
    • K
      USB Storage: Sierra: Non-configurable TRU-Install · c9bab96b
      Kevin Lloyd 提交于
      This patch alters the Sierra Mass Storage patch so that it is non-configurable.
      Signed-off-by: NKevin Lloyd <klloyd@sierrawireless.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      c9bab96b
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 · e002bcc2
      Linus Torvalds 提交于
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6:
        PCI: fix compiler warnings in pci_get_subsys()
        PCI: Fix pcie_aspm=force
      e002bcc2
    • L
      Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 · 75f50020
      Linus Torvalds 提交于
      * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
        [IA64] kexec fails on systems with blocks of uncached memory
        [IA64] Ski simulator doesn't need check_sal_cache_flush
      75f50020
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 · 42e7b09e
      Linus Torvalds 提交于
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
        ALSA: ASoC: maintainers - update email address for Liam Girdwood
      42e7b09e
  2. 23 9月, 2008 25 次提交
  3. 22 9月, 2008 1 次提交
    • A
      pcmcia: Fix broken abuse of dev->driver_data · cec5eb7b
      Alan Cox 提交于
      PCMCIA abuses dev->private_data in the probe methods. Unfortunately it
      continues to abuse it after calling drv->probe() which leads to crashes and
      other nasties (such as bogus probes of multifunction devices) giving errors like
      
      pcmcia: registering new device pcmcia0.1
      kernel: 0.1: GetNextTuple: No more items
      
      Extract the passed data before calling the driver probe function that way
      we don't blow up when the driver reuses dev->private_data as its right.
      
      As its close to the final release just move the hack so it works out,
      hopefully someone will be sufficiently embarrassed to produce a nice rework
      for 2.6.28.
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      cec5eb7b