1. 28 4月, 2007 5 次提交
  2. 26 4月, 2007 1 次提交
  3. 27 3月, 2007 1 次提交
    • D
      USB: omap_udc: workaround dma_free_coherent() bogosity · 8a3c1f57
      David Brownell 提交于
      Various fixes to omap_udc, noted with some recent testing:
      
       - Cope with some SMP-induced braindamage in ARM's dma_{alloc,free}_coherent()
         implementation: alloc() can be called with IRQs blocked, but since late
         last year that's no longer true for free().  This resolves really NASTY
         problems with logspamming via WARN_ON(), indicating N-page leaks.
      
       - Be more correct in handling GET_STATUS request for RECIP_ENDPOINT ... the
         previous code only handled RECIP_INTERFACE, this version should be correct
         except for (sigh) bulk/interrupt endpoints.
      
       - Provide a better name for the function reporting whether the board has
         vbus sensing wired up.
      
      GET_STATUS requests for endpoint status still acts strangely though, at least
      given one flakey host doesn't always ack the first DATA packet, then the packet
      that gets retransmitted doesn't have data!
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      8a3c1f57
  4. 11 3月, 2007 1 次提交
  5. 10 3月, 2007 3 次提交
  6. 24 2月, 2007 1 次提交
  7. 17 2月, 2007 2 次提交
    • D
      USB: at91_udc, shrink runtime footprint · 398acce7
      David Brownell 提交于
      This is a runtime codespace shrink:  in most cases, platform devices should
      put probe() should in the init section, and remove() in the exit section.
      And I have no idea why the module init/exit routines were mismarked.
      It also moves one function table into read-only data.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      398acce7
    • B
      USB: fix g_serial small error · 8356f311
      Bryan O'Donoghue 提交于
      A SET_LINE_CODING control request should return a zero length packet
      as an ACK to the host, during the status phase of a USB transaction.
      
      The return value of gs_setup_class() is treated as the number of
      bytes to write in the status phase of the control request, by
      gs_setup(). For this case, the value returned by gs_setup_class should
      be zero for SET_LINE_CODING but, right now, appears to be
      sizeof(struct usb_cdc_line_coding).
      
      However, if after doing the memcpy of the line coding descriptor we
      set the variable "ret" to be zero, we should return the appropiate ZLP
      to the host as an ACK in the status phase of the control request.
      I've tested this out using Linux as both host and slave and confirmed
      that the following small change fixes the spurious return of
      sizeof(struct usb_cdc_line_coding)/wLength bytes in the status phase
      of a USB_CDC_REQ_SET_LINE_CODING request. It's not a huge bug but, it
      is worth fixing.
      Signed-off-by: NBryan O'Donoghue <bodonoghue@codehermit.ie>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      8356f311
  8. 15 2月, 2007 2 次提交
    • T
      [PATCH] Scheduled removal of SA_xxx interrupt flags fixups · 38515e90
      Thomas Gleixner 提交于
      The obsolete SA_xxx interrupt flags have been used despite the scheduled
      removal.  Fixup the remaining users.
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Acked-by: NIngo Molnar <mingo@elte.hu>
      Cc: "Luck, Tony" <tony.luck@intel.com>
      Cc: Roman Zippel <zippel@linux-m68k.org>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Jeff Garzik <jeff@garzik.org>
      Cc: Wim Van Sebroeck <wim@iguana.be>
      Cc: Roland Dreier <rolandd@cisco.com>
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Cc: James Bottomley <James.Bottomley@steeleye.com>
      Cc: Greg KH <greg@kroah.com>
      Cc: Dave Airlie <airlied@linux.ie>
      Cc: James Simmons <jsimmons@infradead.org>
      Cc: "Antonino A. Daplas" <adaplas@pol.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      38515e90
    • T
      [PATCH] remove many unneeded #includes of sched.h · cd354f1a
      Tim Schmielau 提交于
      After Al Viro (finally) succeeded in removing the sched.h #include in module.h
      recently, it makes sense again to remove other superfluous sched.h includes.
      There are quite a lot of files which include it but don't actually need
      anything defined in there.  Presumably these includes were once needed for
      macros that used to live in sched.h, but moved to other header files in the
      course of cleaning it up.
      
      To ease the pain, this time I did not fiddle with any header files and only
      removed #includes from .c-files, which tend to cause less trouble.
      
      Compile tested against 2.6.20-rc2 and 2.6.20-rc2-mm2 (with offsets) on alpha,
      arm, i386, ia64, mips, powerpc, and x86_64 with allnoconfig, defconfig,
      allmodconfig, and allyesconfig as well as a few randconfigs on x86_64 and all
      configs in arch/arm/configs on arm.  I also checked that no new warnings were
      introduced by the patch (actually, some warnings are removed that were emitted
      by unnecessarily included header files).
      Signed-off-by: NTim Schmielau <tim@physik3.uni-rostock.de>
      Acked-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      cd354f1a
  9. 12 2月, 2007 2 次提交
  10. 08 2月, 2007 15 次提交
  11. 06 1月, 2007 1 次提交
  12. 21 12月, 2006 6 次提交