1. 29 Jul, 2009 3 commits
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 · b7ebbb77
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6:
        staging: udlfb: Add vmalloc.h include
        staging: remove aten2011 driver
        Staging: android: lowmemorykiller.c: fix it for "oom: move oom_adj value from task_struct to mm_struct"
        Staging: serqt_usb2: fix memory leak in error case
        Staging: serqt_usb2: add missing calls to tty_kref_put()
      b7ebbb77
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6 · 7de8b926
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6: (34 commits)
        USB: xhci: Stall handling bug fixes.
        USB: xhci: Support for 64-byte contexts
        USB: xhci: Always align output device contexts to 64 bytes.
        USB: xhci: Scratchpad buffer allocation
        USB: Fix parsing of SuperSpeed Endpoint Companion descriptor.
        USB: xhci: Fail gracefully if there's no SS ep companion descriptor.
        USB: xhci: Handle babble errors on transfers.
        USB: xhci: Setup HW retries correctly.
        USB: xhci: Check if the host controller died in IRQ handler.
        USB: xhci: Don't oops if the host doesn't halt.
        USB: xhci: Make debugging more verbose.
        USB: xhci: Correct Event Handler Busy flag usage.
        USB: xhci: Handle short control packets correctly.
        USB: xhci: Represent 64-bit addresses with one u64.
        USB: xhci: Use GFP_ATOMIC while holding spinlocks.
        USB: xhci: Deal with stalled endpoints.
        USB: xhci: Set TD size in transfer TRB.
        USB: xhci: fix less- and greater than confusion
        USB: usbtest: no need for USB_DEVICEFS
        USB: musb: fix CONFIGDATA register read issue
        ...
      7de8b926
    • OGAWA Hirofumi's avatar
      pty: avoid forcing 'low_latency' tty flag · e043e42b
      OGAWA Hirofumi authored
      We really don't want to mark the pty as a low-latency device, because as
      Alan points out, the ->write method can be called from an IRQ (ppp?),
      and that means we can't use ->low_latency=1 as we take mutexes in the
      low_latency case.
      
      So rather than using low_latency to force the written data to be pushed
      to the ldisc handling at 'write()' time, just make the reader side (or
      the poll function) do the flush when it checks whether there is data to
      be had.
      
      This also fixes the problem with lost data in an emacs compile buffer
      (bugzilla 13815), and we can thus revert the low_latency pty hack
      (commit 3a542974: "pty: quickfix for the
      pty ENXIO timing problems").
      Signed-off-by: default avatarOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
      Tested-by: default avatarAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
      [ Modified to do the tty_flush_to_ldisc() inside input_available_p() so
        that it triggers for both read and poll()  - Linus]
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      e043e42b
  2. 28 Jul, 2009 37 commits