1. 25 Aug, 2008 1 commit
    • Will Newton's avatar
      8250: Improve workaround for UARTs that don't · b753bfe3
      Will Newton authored
      re-assert THRE correctly.
      
      Recent changes to tighten the check for UARTs that don't correctly
      re-assert THRE caused problems when such a UART was opened for the second
      time - the bug could only successfully be detected at first initialization.
      This patch stores the information about the bug in the bugs field of the
      port structure when the port is first started up so subsequent opens can
      check this bit even if the test for the bug fails.
      Signed-off-by: default avatarWill Newton <will.newton@gmail.com>
      Acked-by: default avatarAlex Williamson <alex.williamson@hp.com>
      b753bfe3
  2. 22 Aug, 2008 2 commits
  3. 21 Aug, 2008 3 commits
  4. 20 Aug, 2008 6 commits
  5. 19 Aug, 2008 2 commits
    • Kevin Hilman's avatar
      Merge ../../omap/dev into omap-merge · 8aea5f03
      Kevin Hilman authored
      Conflicts:
      
      	arch/arm/Kconfig
      	arch/arm/mach-davinci/board-evm.c
      	arch/arm/mach-davinci/serial.c
      	drivers/i2c/busses/i2c-davinci.c
      	drivers/media/video/Makefile
      	include/asm-arm/arch-davinci/entry-macro.S
      	include/asm-arm/arch-davinci/gpio.h
      	include/asm-arm/arch-davinci/serial.h
      	include/asm-arm/arch-davinci/system.h
      	include/asm-arm/memory.h
      8aea5f03
    • Artem Bityutskiy's avatar
      twl3040-gpio: fix task softlockup warning · 0cbe4484
      Artem Bityutskiy authored
      This patch fixes the following annoying warning:
      
      INFO: task twl4030 gpio:283 blocked for more than 120 seconds.
      "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
      twl4030 gpio  D c027e9dc     0   283      2
      [<c027e744>] (schedule+0x0/0x314) from [<c00640f0>] (kthread+0x3c/0x80)
      [<c00640b4>] (kthread+0x0/0x80) from [<c0052678>] (do_exit+0x0/0x664)
       r5:00000000 r4:00000000
      
      Which is printed every 120 seconds by the softlockup code (see
      'check_hung_task()' function, introduced by on Jan 2008 by commit
      82a1fcb9).
      
      The reason is that the "twl4030 gpio" kthread is created but is not started
      immediatelly. And in fact it may never start, because TWL3040 interrupts
      may never happen and hence, the 'twl4030_gpio_unmask_irqchip()' function
      is never run. This makes the softlockup detection code unhappy.
      
      Fix this by running the "twl4030 gpio" kernel thread in at the end of the
      'gpio_twl4030_init()' initialization function. Since the 'gpio_pending_unmask'
      global variable is 0 at that time, the tread ('twl4030_gpio_unmask_thread()')
      will effectively do nothing and go sleep. This makes the softlocup detection
      code happy.
      Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      0cbe4484
  6. 18 Aug, 2008 5 commits
  7. 14 Aug, 2008 6 commits
    • Tony Lindgren's avatar
      Revert "input: add more error checks to lm8323 driver" · f519e67d
      Tony Lindgren authored
      This reverts commit c0c5beb8.
      
      This patch breaks n810 keyboard.
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      f519e67d
    • Sanjeev Premi's avatar
      Updates to omap3_evm_defconfig. · be3b0a0d
      Sanjeev Premi authored
      This patch updates the defconfig to 2.6.27-rc2 tag.
      The updates are based on omap_3430sdp_defconfig.
      
      Fixes the build issue reported earlier:
      
            LD      init/built-in.o
            LD      .tmp_vmlinux1
          arm-none-linux-gnueabi-ld: no machine record defined
          arm-none-linux-gnueabi-ld: no machine record defined
          make: *** [.tmp_vmlinux1] Error 1
      Signed-off-by: default avatarSanjeev Premi <premi@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      be3b0a0d
    • Felipe Balbi's avatar
      usb: musb: pass configuration specifics via pdata · ffd60d49
      Felipe Balbi authored
      Use platform_data to pass musb configuration-specific
      details to musb driver.
      
      This patch will prevent that other platforms selecting
      HAVE_CLK and enabling musb won't break tree building.
      
      The other parts of it will come when linux-omap merge
      up more omap2/3 board-files.
      Signed-off-by: default avatarFelipe Balbi <felipe.balbi@nokia.com>
      Acked-by: default avatarPaul Mundt <lethal@linux-sh.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      ffd60d49
    • Felipe Balbi's avatar
      input: add more error checks to lm8323 driver · c0c5beb8
      Felipe Balbi authored
      If we can't reach the driver, we stop trying to probe
      it. Useful when building kernel for n800 and n810.
      
      n800 doesn't have lm8323, so that driver shouldn't probe
      there.
      Signed-off-by: default avatarFelipe Balbi <felipe.balbi@nokia.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      c0c5beb8
    • Tony Lindgren's avatar
      BT: Fix compile for hci_h4p · 860d0ef2
      Tony Lindgren authored
      Fix compile for hci_h4p
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      860d0ef2
    • Tony Lindgren's avatar
      Merge current mainline tree into linux-omap tree · fdee8764
      Tony Lindgren authored
      Merge branches 'master' and 'linus'
      
      Conflicts:
      
      	arch/arm/Makefile
      	arch/arm/mach-omap1/board-h2.c
      	arch/arm/mach-omap1/board-h3.c
      	arch/arm/mach-omap1/board-nokia770.c
      	arch/arm/mach-omap1/board-palmte.c
      	arch/arm/mach-omap1/board-sx1.c
      	arch/arm/mach-omap2/board-2430sdp.c
      	arch/arm/mach-omap2/board-apollon.c
      	arch/arm/mach-omap2/board-h4.c
      	arch/arm/mach-omap2/clock.c
      	arch/arm/mach-omap2/clock24xx.c
      	arch/arm/mach-omap2/devices.c
      	arch/arm/mach-omap2/id.c
      	arch/arm/mach-omap2/io.c
      	arch/arm/mach-omap2/memory.c
      	arch/arm/mach-omap2/pm.c
      	arch/arm/mach-omap2/sleep.S
      	arch/arm/plat-omap/devices.c
      	drivers/i2c/chips/menelaus.c
      	drivers/input/keyboard/omap-keypad.c
      	drivers/watchdog/omap_wdt.c
      	include/asm-arm/arch-omap/board-2430sdp.h
      	include/asm-arm/arch-omap/board-apollon.h
      	include/asm-arm/arch-omap/board-h4.h
      	include/asm-arm/arch-omap/board-nokia.h
      	include/asm-arm/arch-omap/board.h
      	include/asm-arm/arch-omap/clock.h
      	include/asm-arm/arch-omap/common.h
      	include/asm-arm/arch-omap/control.h
      	include/asm-arm/arch-omap/cpu.h
      	include/asm-arm/arch-omap/debug-macro.S
      	include/asm-arm/arch-omap/dsp_common.h
      	include/asm-arm/arch-omap/entry-macro.S
      	include/asm-arm/arch-omap/gpio-switch.h
      	include/asm-arm/arch-omap/gpio.h
      	include/asm-arm/arch-omap/gpmc.h
      	include/asm-arm/arch-omap/hardware.h
      	include/asm-arm/arch-omap/io.h
      	include/asm-arm/arch-omap/irqs.h
      	include/asm-arm/arch-omap/mailbox.h
      	include/asm-arm/arch-omap/mcbsp.h
      	include/asm-arm/arch-omap/memory.h
      	include/asm-arm/arch-omap/mmc.h
      	include/asm-arm/arch-omap/mux.h
      	include/asm-arm/arch-omap/omap-alsa.h
      	include/asm-arm/arch-omap/omap1510.h
      	include/asm-arm/arch-omap/omap16xx.h
      	include/asm-arm/arch-omap/omap24xx.h
      	include/asm-arm/arch-omap/omap34xx.h
      	include/asm-arm/arch-omap/omapfb.h
      	include/asm-arm/arch-omap/onenand.h
      	include/asm-arm/arch-omap/pm.h
      	include/asm-arm/arch-omap/prcm.h
      	include/asm-arm/arch-omap/sdrc.h
      	include/asm-arm/arch-omap/serial.h
      	include/asm-arm/arch-omap/sram.h
      	include/asm-arm/arch-omap/system.h
      	include/asm-arm/arch-omap/timex.h
      	include/asm-arm/arch-omap/usb.h
      	include/asm-arm/arch-omap/vmalloc.h
      fdee8764
  8. 13 Aug, 2008 8 commits
  9. 12 Aug, 2008 7 commits
    • Linus Torvalds's avatar
      Merge branch 'for-2.6.27' of git://linux-nfs.org/~bfields/linux · b0e0c9e7
      Linus Torvalds authored
      * 'for-2.6.27' of git://linux-nfs.org/~bfields/linux:
        fs/nfsd/export.c: Adjust error handling code involving auth_domain_put
        MAINTAINERS: mention lockd and sunrpc in nfs entries
        lockd: trivial sparse endian annotations
      b0e0c9e7
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband · dae81683
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband:
        IB/ehca: Discard double CQE for one WR
        IB/ehca: Check idr_find() return value
        IB/ehca: Repoll CQ on invalid opcode
        IB/ehca: Rename goto label in ehca_poll_cq_one()
        IB/ehca: Update qp_state on cached modify_qp()
        IPoIB/cm: Use vmalloc() to allocate rx_rings
      dae81683
    • Linus Torvalds's avatar
      Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 · ddc752a4
      Linus Torvalds authored
      * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
        [IA64] use bcd2bin/bin2bcd
        [IA64] Ensure cpu0 can access per-cpu variables in early boot code
      ddc752a4
    • Bernhard Walle's avatar
      firmware/memmap: cleanup · 31bad924
      Bernhard Walle authored
      Various cleanup the drivers/firmware/memmap (after review by AKPM):
      
          - fix kdoc to conform to the standard
          - move kdoc from header to implementation files
          - remove superfluous WARN_ON() after kmalloc()
          - WARN_ON(x); if (!x) -> if(!WARN_ON(x))
          - improve some comments
      Signed-off-by: default avatarBernhard Walle <bwalle@suse.de>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      31bad924
    • Alexander Clouter's avatar
      ALi M7101 PMU also available on Sun Netra's too · bdd87354
      Alexander Clouter authored
      My Sun Netra T1 AC200 has one of these... bit harsh not letting me use it
      and all :)
      
      ==========
      alex@woodchuck:~$ lspci -nn
      00:01.0 PCI bridge [0604]: Sun Microsystems Computer Corp. Simba Advanced PCI Bridge [108e:5000] (rev 13)
      00:01.1 PCI bridge [0604]: Sun Microsystems Computer Corp. Simba Advanced PCI Bridge [108e:5000] (rev 13)
      01:03.0 Non-VGA unclassified device [0000]: ALi Corporation M7101 Power Management Controller [PMU] [10b9:7101]
      01:05.1 Ethernet controller [0200]: Sun Microsystems Computer Corp. RIO GEM [108e:1101] (rev 01)
      01:05.3 USB Controller [0c03]: Sun Microsystems Computer Corp. RIO USB [108e:1103] (rev 01)
      01:07.0 ISA bridge [0601]: ALi Corporation M1533/M1535 PCI to ISA Bridge [Aladdin IV/V/V+] [10b9:1533]
      01:0c.0 Bridge [0680]: Sun Microsystems Computer Corp. RIO EBUS [108e:1100] (rev 01)
      01:0c.1 Ethernet controller [0200]: Sun Microsystems Computer Corp. RIO GEM [108e:1101] (rev 01)
      01:0c.3 USB Controller [0c03]: Sun Microsystems Computer Corp. RIO USB [108e:1103] (rev 01)
      01:0d.0 IDE interface [0101]: ALi Corporation M5229 IDE [10b9:5229] (rev c3)
      02:08.0 SCSI storage controller [0100]: LSI Logic / Symbios Logic 53C896/897 [1000:000b] (rev 07)
      02:08.1 SCSI storage controller [0100]: LSI Logic / Symbios Logic 53C896/897 [1000:000b] (rev 07)
      ==========
      Signed-off-by: default avatarAlexander Clouter <alex@digriz.org.uk>
      Cc: Wim Van Sebroeck <wim@iguana.be>
      Cc: "David S. Miller" <davem@davemloft.net>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      bdd87354
    • Michael Abbott's avatar
      Make ioctl.h compatible with userland · 5f8c3c8e
      Michael Abbott authored
      The attached patch seems to already exist in a number of branches -- it
      keeps popping up on Google for me, and is certainly already in Debian --
      but is strangely absent from mainstream.
      
      The problem appears to be that the patched file ends up as part of the
      target toolchain, but unfortunately the gcc constant folding doesn't
      appear to eliminate the __invalid_size_argument_for_IOC value early
      enough.  Certainly compiling C++ programs which use _IO...  macros as
      constants fails without this patch.
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      5f8c3c8e
    • Randy Dunlap's avatar
      docsrc: fix getdelays printk formats · 66659313
      Randy Dunlap authored
      Fix printf format type warnings (seen on alpha & ia64):
      
      Documentation/accounting/getdelays.c:206: warning: format '%15llu' expects type 'long long unsigned int', but argument 6 has type '__u64'
      Documentation/accounting/getdelays.c:206: warning: format '%15llu' expects type 'long long unsigned int', but argument 7 has type '__u64'
      Documentation/accounting/getdelays.c:206: warning: format '%15llu' expects type 'long long unsigned int', but argument 8 has type '__u64'
      Documentation/accounting/getdelays.c:206: warning: format '%15llu' expects type 'long long unsigned int', but argument 9 has type '__u64'
      Documentation/accounting/getdelays.c:206: warning: format '%15llu' expects type 'long long unsigned int', but argument 12 has type '__u64'
      Documentation/accounting/getdelays.c:206: warning: format '%15llu' expects type 'long long unsigned int', but argument 13 has type '__u64'
      Documentation/accounting/getdelays.c:206: warning: format '%15llu' expects type 'long long unsigned int', but argument 16 has type '__u64'
      Documentation/accounting/getdelays.c:206: warning: format '%15llu' expects type 'long long unsigned int', but argument 17 has type '__u64'
      Documentation/accounting/getdelays.c:214: warning: format '%15llu' expects type 'long long unsigned int', but argument 4 has type '__u64'
      Documentation/accounting/getdelays.c:214: warning: format '%15llu' expects type 'long long unsigned int', but argument 5 has type '__u64'
      Documentation/accounting/getdelays.c:221: warning: format '%llu' expects type 'long long unsigned int', but argument 2 has type '__u64'
      Documentation/accounting/getdelays.c:221: warning: format '%llu' expects type 'long long unsigned int', but argument 3 has type '__u64'
      Documentation/accounting/getdelays.c:221: warning: format '%llu' expects type 'long long unsigned int', but argument 4 has type '__u64'
      Documentation/accounting/getdelays.c:221: warning: format '%llu' expects type 'long long unsigned int', but argument 5 has type '__u64'
      Documentation/accounting/getdelays.c:221: warning: format '%llu' expects type 'long long unsigned int', but argument 6 has type '__u64'
      Documentation/accounting/getdelays.c:236: warning: 'cmd_type' may be used uninitialized in this function
      Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
      Cc: Balbir Singh <balbir@in.ibm.com>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      66659313