1. 28 6月, 2005 6 次提交
    • D
      [PATCH] USB: turn a user mode driver error into a hard error · 72ebddb5
      David Brownell 提交于
      This patch turns a user mode driver error into a hard error, and updates
      the relevant diagnostic slightly to help troubleshooting.  gphoto was
      known to have this problem, hopefully it is now fixed (they have had
      plenty of warning...)
      
      This had been left as a soft error to give various user mode drivers a
      change to be properly fixed, with the statement that starting in about
      2.6.10 it would be changed.  It had been mostly safe as a soft error ...
      but that can not be guaranteed.  Now that a year has passed, it's time to
      really insist that the user mode drivers finally fix their relevant bugs.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      72ebddb5
    • O
      [PATCH] USB: Fix oops at rmmod after failed probe in isp116x-hcd · 589a0083
      Olav Kongas 提交于
      This patch fixes an oops triggered at rmmod of isp116x-hcd
      after the probe() has failed.
      
      Also, it extends the error message printed, if the driver
      cannot detect "Chip's Clock Ready" after a software reset.
      As Ian Campbell recently reported, this happens if the
      chip's H_WAKEUP pin is not pulled low during software reset.
      Several people have already had this issue, hence the update
      to the error message.
      
      Also, extend the error message about the failed clock
      detection after the software reset.
      Signed-off-by: NOlav Kongas <ok@artecdesign.ee>
      589a0083
    • O
      [PATCH] USB: Add isp116x-hcd USB host controller driver · 4808a1c0
      Olav Kongas 提交于
      This patch provides an "isp116x-hcd" driver for Philips'
      ISP1160/ISP1161 USB host controllers.
      
      The driver:
       - is relatively small, meant for use on embedded platforms.
       - runs usbtests 1-14 without problems for days.
       - has been in use by 6-7 different people on ARM and PPC platforms,
         running a range of devices including USB hubs.
       - supports suspend/resume of both the platform device and the root hub;
         supports remote wakeup of the root hub (but NOT the platform device)
         by USB devices.
       - does NOT support ISO transfers (nobody has asked for them).
       - is PIO-only.
      Signed-off-by: NOlav Kongas <ok@artecdesign.ee>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      4808a1c0
    • D
      [PATCH] USB: omap_udc updates (mostly cleanups) · 313980c9
      David Brownell 提交于
      Various USB patches, mostly for portability:
      
        - Fifo mode 1 didn't work previously (oopsed), so now it's fixed and
          (why not) defines even more endpoints for composite devices.
      
        - OMAP 1710 doesn't have an internal transceiver.
      
        - Small PM update:  if the USB link is suspended, don't disconnect on
          entry to deep sleep.
      
        - Be more correct about handling zero length control reads.  OMAP
          seems to mis-handle that protocol peculiarity though; best avoided.
      
        - Platform device resources (for UDC and OTG controllers) now use
          physical addresses, so /proc/iomem is more consistent.
      
        - Minor cleanups, notably (by volume) for "sparse" NULL warnings.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      313980c9
    • A
      [PATCH] USB: g_file_storage: export "stall" parameter · d794ac7a
      Alan Stern 提交于
      This patch changes the g_file_storage driver to make the "stall" module
      parameter generally available; currently it is available only if the
      testing version of the module has been configured.  It also fixes a typo
      in a comment -- thanks, Pat!
      Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      d794ac7a
    • A
      [PATCH] USB: g_file_storage: Consolidate min()s · 76f4af8e
      Alan Stern 提交于
      This patch simplifies the g_file_storage driver by consolidating a bunch
      of min() calculations at a single spot.
      Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      76f4af8e
  2. 27 6月, 2005 34 次提交