1. 22 Jul, 2008 37 commits
  2. 21 Jul, 2008 3 commits
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6 · 93ded9b8
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6: (100 commits)
        usb-storage: revert DMA-alignment change for Wireless USB
        USB: use reset_resume when normal resume fails
        usb_gadget: composite cdc gadget fault handling
        usb gadget: minor USBCV fix for composite framework
        USB: Fix bug with byte order in isp116x-hcd.c fio write/read
        USB: fix double kfree in ipaq in error case
        USB: fix build error in cdc-acm for CONFIG_PM=n
        USB: remove board-specific UP2OCR configuration from pxa27x-udc
        USB: EHCI: Reconciling USB register differences on MPC85xx vs MPC83xx
        USB: Fix pointer/int cast in USB devio code
        usb gadget: g_cdc dependso on NET
        USB: Au1xxx-usb: suspend/resume support.
        USB: Au1xxx-usb: clean up ohci/ehci bus glue sources.
        usbfs: don't store bad pointers in registration
        usbfs: fix race between open and unregister
        usbfs: simplify the lookup-by-minor routines
        usbfs: send disconnect signals when device is unregistered
        USB: Force unbinding of drivers lacking reset_resume or other methods
        USB: ohci-pnx4008: I2C cleanups and fixes
        USB: debug port converter does not accept more than 8 byte packets
        ...
      93ded9b8
    • Alan Stern's avatar
      usb-storage: revert DMA-alignment change for Wireless USB · f756cbd4
      Alan Stern authored
      This patch (as1110) reverts an earlier patch meant to help with
      Wireless USB host controllers.  These controllers can have bulk
      maxpacket values larger than 512, which puts unusual constraints on
      the sizes of scatter-gather list elements.  However it turns out that
      the block layer does not provide the support we need to enforce these
      constraints; merely changing the DMA alignment mask doesn't help.
      Hence there's no reason to keep the original patch.  The Wireless USB
      problem will have to be solved a different way.
      
      In addition, there is a reason to get rid of the earlier patch.  By
      dereferencing a pointer stored in the ep_in array of struct
      usb_device, the current code risks an invalid memory access when it
      runs concurrently with device removal.  The members of that array are
      cleared before the driver's disconnect method is called, so it should
      not try to use them.
      Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      f756cbd4
    • Alan Stern's avatar
      USB: use reset_resume when normal resume fails · 86c57edf
      Alan Stern authored
      This patch (as1109b) makes USB-Persist more resilient to errors.  With
      the current code, if a normal resume fails, it's an unrecoverable
      error.  With the patch, if a normal resume fails (and if the device is
      enabled for USB-Persist) then a reset-resume is tried.
      
      This fixes the problem reported in Bugzilla #10977.
      Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      
      86c57edf