1. 03 Jun, 2011 4 commits
    • Linus Torvalds's avatar
      Merge branch 'rmobile-fixes-for-linus' of... · cd4ecf87
      Linus Torvalds authored
      Merge branch 'rmobile-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6
      
      * 'rmobile-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6:
        ARM: mach-shmobile: add DMAC clock definitions on SH7372
        ARM: arch-shmobile: support SDHI card detection on mackerel, using a GPIO
        sh_mobile_meram: MERAM platform data for LCDC
      cd4ecf87
    • Linus Torvalds's avatar
      Merge branch 'sh-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6 · 1f3bd0f2
      Linus Torvalds authored
      * 'sh-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6:
        dmaengine: shdma: fix a regression: initialise DMA channels for memcpy
        dmaengine: shdma: Fix up fallout from runtime PM changes.
        Revert "clocksource: sh_cmt: Runtime PM support"
        Revert "clocksource: sh_tmu: Runtime PM support"
        sh: Fix up asm-generic/ptrace.h fallout.
        sh64: Move from P1SEG to CAC_ADDR for consistent sync.
        sh64: asm/pgtable.h needs asm/mmu.h
        sh: asm/tlb.h needs linux/swap.h
        sh: mark DMA slave ID 0 as invalid
        sh: Update shmin to reflect PIO dependency.
        sh: arch/sh/kernel/process_32.c needs linux/prefetch.h.
        sh: add MMCIF runtime PM support on ecovec
        sh: switch ap325rxa to dynamically manage the platform camera
      1f3bd0f2
    • Linus Torvalds's avatar
      Revert "ASoC: Update cx20442 for TTY API change" · bb3d6bf1
      Linus Torvalds authored
      This reverts commit ed0bd233.
      
      Since we reverted the TTY API change, we should revert the ASoC update
      to it too.
      
      Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
      Cc: Liam Girdwood <lrg@ti.com>
      Cc: Greg Kroah-Hartman <gregkh@suse.de>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      bb3d6bf1
    • Linus Torvalds's avatar
      Revert "tty: make receive_buf() return the amout of bytes received" · 55db4c64
      Linus Torvalds authored
      This reverts commit b1c43f82.
      
      It was broken in so many ways, and results in random odd pty issues.
      
      It re-introduced the buggy schedule_work() in flush_to_ldisc() that can
      cause endless work-loops (see commit a5660b41: "tty: fix endless
      work loop when the buffer fills up").
      
      It also used an "unsigned int" return value fo the ->receive_buf()
      function, but then made multiple functions return a negative error code,
      and didn't actually check for the error in the caller.
      
      And it didn't actually work at all.  BenH bisected down odd tty behavior
      to it:
        "It looks like the patch is causing some major malfunctions of the X
         server for me, possibly related to PTYs.  For example, cat'ing a
         large file in a gnome terminal hangs the kernel for -minutes- in a
         loop of what looks like flush_to_ldisc/workqueue code, (some ftrace
         data in the quoted bits further down).
      
         ...
      
         Some more data: It -looks- like what happens is that the
         flush_to_ldisc work queue entry constantly re-queues itself (because
         the PTY is full ?) and the workqueue thread will basically loop
         forver calling it without ever scheduling, thus starving the consumer
         process that could have emptied the PTY."
      
      which is pretty much exactly the problem we fixed in a5660b41.
      
      Milton Miller pointed out the 'unsigned int' issue.
      Reported-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Reported-by: default avatarMilton Miller <miltonm@bga.com>
      Cc: Stefan Bigler <stefan.bigler@keymile.com>
      Cc: Toby Gray <toby.gray@realvnc.com>
      Cc: Felipe Balbi <balbi@ti.com>
      Cc: Greg Kroah-Hartman <gregkh@suse.de>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      55db4c64
  2. 02 Jun, 2011 2 commits
  3. 01 Jun, 2011 17 commits
  4. 31 May, 2011 17 commits