1. 22 Mar, 2006 8 commits
    • lamikr's avatar
      [PATCH] ARM: OMAP: Alsa modularisations and support for tsc2101 3/3 (round 2) · 8e3d8c6f
      lamikr authored
      This 3/3 patch adds the tsc2101 alsa driver support for the omap-h2.
      
      Just like the aic23 alsa driver, the codec specific functionality is
      separated from the common alsa driver functionality that is in the omap-alsa.c.
      tsc2101 mixer supports currently the playback selection between
      loudspeaker and headset/handset.
      Addon of others input and targets should be possible to do afterwards.
      
      In addition it should be possible to add later the support for the
      dynamic clocks on top of this series of patches, as discussed
      in the omap-linux mailing list.
      Signed-off-by: default avatarMika Laitio <lamikr@cc.jyu.fi>
      Signed-off-by: default avatarDaniel Petrini <d.pensator@gmail.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      8e3d8c6f
    • lamikr's avatar
      [PATCH] ARM: OMAP: Alsa modularisations and support for tsc2101 2/3 (round 2) · c8af20c5
      lamikr authored
      This 2/3 patch moves omap alsa aic23 driver files to sound/arm/omap
      directory.
      
      In addition it adds cleaner separation of codec specific functionality
      from the other functionality so that the same code can also be used by
      the tsc2101 driver.
      
      Structures required by the platform driver are now in
      include/asm-arm/arch-omap/omap-alsa.h.
      
      Unlike in the previous review, all other files required by this driver
      are now located in the sound/arm/omap directory. MCBSP settings required
      by the alsa driver are now initialized in the omap OSK board-code. Codec
      specific function pointers are now initialized in the codec-file.
      (omap-alsa-aic23.c)
      Signed-off-by: default avatarMika Laitio <lamikr@cc.jyu.fi>
      Signed-off-by: default avatarDaniel Petrini <d.pensator@gmail.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      c8af20c5
    • Daniel Petrini's avatar
      [PATCH] ARM: OMAP: Alsa modularisations and support for tsc2101 1/3 (round 2) · 419edf1b
      Daniel Petrini authored
      This 1/3 patch prepares the addon of tsc2101 driver by renaming structures
      that can be shared by aic23 and tsc2101 drivers to more specific names.
      In addition this patch renames DMA function names so that they do not
      conflict with the dma function names in the oss driver.
      Signed-off-by: default avatarMika Laitio <lamikr@cc.jyu.fi>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      419edf1b
    • Dirk Behme's avatar
      ARM: OMAP: Fix error from GCC 4.1.0 · 51c0cddf
      Dirk Behme authored
      drivers/i2c/chips/tlv320aic23.c:157: error: expected '='
      before '{' token
      drivers/i2c/chips/tlv320aic23.c:161: error: expected '}'
      before '.' token
      drivers/i2c/chips/tlv320aic23.c:597: error: expected '='
      before '{' token
      drivers/i2c/chips/tlv320aic23.c:601: error: expected '}'
      before '.' token
      
      Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      51c0cddf
    • Komal Shah's avatar
      ARM: OMAP: Documentation/arm/OMAP/README update · d1500f9c
      Komal Shah authored
      Attached patch removes bk references and few changes to directory paths
      for because of mach-omap2.
      Signed-off-by: default avatarKomal Shah <komal_shah802003@yahoo.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      d1500f9c
    • Dirk Behme's avatar
      ARM: OMAP: Fix warnings in innovator_ps2: · a5f137d2
      Dirk Behme authored
      drivers/input/keyboard/innovator_ps2.c:333: warning: 'block'
      defined but not used
      drivers/input/keyboard/innovator_ps2.c:338: warning:
      'innovator_fpga_hid_lock' defined but not used
      drivers/input/keyboard/innovator_ps2.c:339: warning:
      'innovator_fpga_hid_busy' defined but not used
      drivers/input/keyboard/innovator_ps2.c:383: warning:
      'innovator_fpga_hid_clear_bits' defined but not used
      drivers/input/keyboard/innovator_ps2.c:702: warning:
      'verify_init' defined but not used
      drivers/input/keyboard/innovator_ps2.c: In function
      'innovator_ps2_resume':
      drivers/input/keyboard/innovator_ps2.c:1176: warning:
      'pmcomm' may be used uninitialized in this function
      drivers/input/keyboard/innovator_ps2.c: In function
      'innovator_ps2_suspend':
      drivers/input/keyboard/innovator_ps2.c:1153: warning:
      'pmcomm' may be used uninitialized in this function
      
      Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      a5f137d2
    • Dirk Behme's avatar
      ARM: OMAP: Fix omap-rtc · af24187c
      Dirk Behme authored
      drivers/char/omap-rtc.c:125: error: static declaration of
      'rtc_interrupt' follows non-static declaration
      include/linux/rtc.h:107: error: previous declaration of
      'rtc_interrupt' was here
      
      Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      af24187c
    • Dirk Behme's avatar
      ARM: OMAP: Fix menelaus.c compile for GCC 4.1.0: · ab370c66
      Dirk Behme authored
      drivers/i2c/chips/menelaus.c:453: error: expected '=' before
      '{' token
      drivers/i2c/chips/menelaus.c:456: error: expected '}' before
      '.' token
      
      Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      ab370c66
  2. 21 Mar, 2006 1 commit
  3. 20 Mar, 2006 10 commits
  4. 19 Mar, 2006 2 commits
    • Michael Chan's avatar
      [TG3]: 40-bit DMA workaround part 2 · 4a29cc2e
      Michael Chan authored
      The 40-bit DMA workaround recently implemented for 5714, 5715, and
      5780 needs to be expanded because there may be other tg3 devices
      behind the EPB Express to PCIX bridge in the 5780 class device.
      
      For example, some 4-port card or mother board designs have 5704 behind
      the 5714.
      
      All devices behind the EPB require the 40-bit DMA workaround.
      
      Thanks to Chris Elmquist again for reporting the problem and testing
      the patch.
      Signed-off-by: default avatarMichael Chan <mchan@broadcom.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      4a29cc2e
    • Ralf Baechle DL5RB's avatar
      [AX.25]: Fix potencial memory hole. · c7c694d1
      Ralf Baechle DL5RB authored
      If the AX.25 dialect chosen by the sysadmin is set to DAMA master / 3
      (or DAMA slave / 2, if CONFIG_AX25_DAMA_SLAVE=n) ax25_kick() will fall
      through the switch statement without calling ax25_send_iframe() or any
      other function that would eventually free skbn thus leaking the packet.
      
      Fix by restricting the sysctl inferface to allow only actually supported
      AX.25 dialects.
      
      The system administration mistake needed for this to happen is rather
      unlikely, so this is an uncritical hole.
      
      Coverity #651.
      Signed-off-by: default avatarRalf Baechle DL5RB <ralf@linux-mips.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      c7c694d1
  5. 18 Mar, 2006 16 commits
  6. 17 Mar, 2006 3 commits
    • Hugh Dickins's avatar
      [PATCH] fix free swap cache latency · 6f5e6b9e
      Hugh Dickins authored
      Lee Revell reported 28ms latency when process with lots of swapped memory
      exits.
      
      2.6.15 introduced a latency regression when unmapping: in accounting the
      zap_work latency breaker, pte_none counted 1, pte_present PAGE_SIZE, but a
      swap entry counted nothing at all.  We think of pages present as the slow
      case, but Lee's trace shows that free_swap_and_cache's radix tree lookup
      can make a lot of work - and we could have been doing it many thousands of
      times without a latency break.
      
      Move the zap_work update up to account swap entries like pages present.
      This does account non-linear pte_file entries, and unmap_mapping_range
      skipping over swap entries, by the same amount even though they're quick:
      but neither of those cases deserves complicating the code (and they're
      treated no worse than they were in 2.6.14).
      Signed-off-by: default avatarHugh Dickins <hugh@veritas.com>
      Acked-by: default avatarNick Piggin <npiggin@suse.de>
      Acked-by: default avatarIngo Molnar <mingo@elte.hu>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      6f5e6b9e
    • Sam Ravnborg's avatar
      [PATCH] kbuild: fix buffer overflow in modpost · 7670f023
      Sam Ravnborg authored
      Jiri Benc <jbenc@suse.cz> reported that modpost would stop with SIGABRT if
      used with long filepaths.
      The error looked like:
      >   Building modules, stage 2.
      >   MODPOST
      > *** glibc detected *** scripts/mod/modpost: realloc(): invalid next size:
      +0x0809f588 ***
      > [...]
      
      Fix this by allocating at least the required memory + SZ bytes each time.
      Before we sometimes ended up allocating too little memory resuting in the
      glibc detected bug above.  Based on patch originally submitted by: Jiri
      Benc <jbenc@suse.cz>
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      7670f023
    • Peter Staubach's avatar
      [PATCH] nfsservctl(): remove user-triggerable printk · 85c6932e
      Peter Staubach authored
      A user can use nfsservctl() to spam the logs.
      
      This can happen because the arguments to the nfsservctl() system call are
      versioned.  This is a good thing.  However, when a bad version is detected,
      the kernel prints a message and then returns an error.
      Signed-off-by: default avatarPeter Staubach <staubach@redhat.com>
      Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
      Cc: Neil Brown <neilb@cse.unsw.edu.au>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      85c6932e