1. 11 8月, 2009 1 次提交
  2. 10 8月, 2009 1 次提交
  3. 07 8月, 2009 1 次提交
  4. 03 8月, 2009 9 次提交
  5. 31 7月, 2009 2 次提交
  6. 29 7月, 2009 3 次提交
  7. 28 7月, 2009 1 次提交
  8. 24 7月, 2009 1 次提交
  9. 23 7月, 2009 6 次提交
  10. 22 7月, 2009 4 次提交
    • T
      ALSA: ctxfi - Fix uninitialized error checks · 68110661
      Takashi Iwai 提交于
      Fix a few uninitialized error checks that were introduced recently
      mistakenlly during the clean-up:
        sound/pci/ctxfi/ctamixer.c: In function ‘get_amixer_rsc’:
        sound/pci/ctxfi/ctamixer.c:261: warning: ‘err’ may be used uninitialized in this function
        sound/pci/ctxfi/ctamixer.c: In function ‘get_sum_rsc’:
        sound/pci/ctxfi/ctamixer.c:415: warning: ‘err’ may be used uninitialized in this function
        sound/pci/ctxfi/ctsrc.c: In function ‘get_srcimp_rsc’:
        sound/pci/ctxfi/ctsrc.c:742: warning: ‘err’ may be used uninitialized in this function
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      68110661
    • T
      ALSA: hda - Use snprintf() to be safer · 86de7416
      Takashi Iwai 提交于
      Use snprint() for creating the jack name string instead of sprintf()
      in patch_sigmatel.c.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      86de7416
    • A
      ALSA: usb-audio - Volume control quirk for QuickCam E 3500 · 2cf313ee
      Alexey Fisher 提交于
      - E3500 report cval->max more than it actually can handel, so if you
      set 95% capture level it will be silently muted.
      - Betwen cval->min and cval-max(real) is 2940 control units,
      but real are only 7 with cval->res = 384.
      - Alsa can't handel less than 10 controls, so make it more
      and set cval->res = 192.
      Signed-off-by: NAlexey Fisher <bug-track@fisher-privat.net>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      2cf313ee
    • T
      ALSA: pcm - Fix regressions with VMware · 79452f0a
      Takashi Iwai 提交于
      VMware tends to report PCM positions and period updates at utterly
      wrong timing.  This screws up the recent PCM core code that tries
      to correct the position based on the irq timing.
      
      Now, when a backward irq position is detected, skip the update
      instead of rebasing.  (This is almost the old behavior before
      2.6.30.)
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      79452f0a
  11. 20 7月, 2009 5 次提交
    • F
      ALSA: ctxfi: Swapped SURROUND-SIDE channels on emu20k2 · 55fe27f7
      Frank Roth 提交于
      On Soundblaster X-FI Titanium with emu20k2 the SIDE and SURROUND
      channels were swapped and wrong. 
      I double checked it with connector colors and creative soundblaster
      windows drivers.
      
      So I swapped them to the true order.
      Now "speaker-test -c6" and "speaker-test -c8" are working fine.
      Signed-off-by: NFrank Roth <frashman@freenet.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      55fe27f7
    • T
      ALSA: ca0106 - Fix the max capture buffer size · 34fdeb2d
      Takashi Iwai 提交于
      The capture buffer size with 64kB seems broken with CA0106.
      At least, either the update timing or the DMA position is wrong,
      and this screws up pulseaudio badly.
      
      This patch restricts the max buffer size less than that to make life
      a bit easier.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      Cc: <stable@kernel.org>
      34fdeb2d
    • T
      ALSA: hda - Fix pin-setup for Sony VAIO with STAC9872 codecs · b04add95
      Takashi Iwai 提交于
      The recent rewrite of the codec parser for STAC9872 caused a regression
      for some Sony VAIO models that don't give proper pin default configs
      by BIOS.  Even using model=vaio doesn't work because the pin definitions
      are set after the pin overrides.
      
      This patch fixes the pin definitions in patch_stac9872() to be put
      in the right place before the pin overrides.  Also the patch adds the
      new quirk entry for VAIO F/S to have the correct pin default configs.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      Cc: <stable@kernel.org>
      b04add95
    • H
      ALSA: hda - Add quirk for Gateway T6834c laptop · 42b95f0c
      Hao Song 提交于
      Gateway T6834c laptops need EAPD always on while the default behavior
      for the STAC9205 reference board is to turn it off upon every HP plug.
      By using the special "eapd" model, which is first introduced for Gateway
      T1616 laptops for this same reason, this peculiarity can be properly
      handled.
      Signed-off-by: NHao Song <baritono.tux@gmail.com>
      Cc: <stable@kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      42b95f0c
    • J
      ALSA: OSS sequencer should be initialized after snd_seq_system_client_init · f96e0808
      Jaswinder Singh Rajput 提交于
      When build SND_SEQUENCER in kernel then OSS sequencer(alsa_seq_oss_init)
      is initialized before System (snd_seq_system_client_init) which leads to
      memory leak :
      
      unreferenced object 0xf6b0e680 (size 256):
        comm "swapper", pid 1, jiffies 4294670753
        backtrace:
          [<c108ac5c>] create_object+0x135/0x204
          [<c108adfe>] kmemleak_alloc+0x26/0x4c
          [<c1087de2>] kmem_cache_alloc+0x72/0xff
          [<c126d2ac>] seq_create_client1+0x22/0x160
          [<c126e3b6>] snd_seq_create_kernel_client+0x72/0xef
          [<c1485a05>] snd_seq_oss_create_client+0x86/0x142
          [<c1485920>] alsa_seq_oss_init+0xf6/0x155
          [<c1001059>] do_one_initcall+0x4f/0x111
          [<c14655be>] kernel_init+0x115/0x166
          [<c10032af>] kernel_thread_helper+0x7/0x10
          [<ffffffff>] 0xffffffff
      unreferenced object 0xf688a580 (size 64):
        comm "swapper", pid 1, jiffies 4294670753
        backtrace:
          [<c108ac5c>] create_object+0x135/0x204
          [<c108adfe>] kmemleak_alloc+0x26/0x4c
          [<c1087de2>] kmem_cache_alloc+0x72/0xff
          [<c126f964>] snd_seq_pool_new+0x1c/0xb8
          [<c126d311>] seq_create_client1+0x87/0x160
          [<c126e3b6>] snd_seq_create_kernel_client+0x72/0xef
          [<c1485a05>] snd_seq_oss_create_client+0x86/0x142
          [<c1485920>] alsa_seq_oss_init+0xf6/0x155
          [<c1001059>] do_one_initcall+0x4f/0x111
          [<c14655be>] kernel_init+0x115/0x166
          [<c10032af>] kernel_thread_helper+0x7/0x10
          [<ffffffff>] 0xffffffff
      unreferenced object 0xf6b0e480 (size 256):
        comm "swapper", pid 1, jiffies 4294670754
        backtrace:
          [<c108ac5c>] create_object+0x135/0x204
          [<c108adfe>] kmemleak_alloc+0x26/0x4c
          [<c1087de2>] kmem_cache_alloc+0x72/0xff
          [<c12725a0>] snd_seq_create_port+0x51/0x21c
          [<c126de50>] snd_seq_ioctl_create_port+0x57/0x13c
          [<c126d07a>] snd_seq_do_ioctl+0x4a/0x69
          [<c126d0de>] snd_seq_kernel_client_ctl+0x33/0x49
          [<c1485a74>] snd_seq_oss_create_client+0xf5/0x142
          [<c1485920>] alsa_seq_oss_init+0xf6/0x155
          [<c1001059>] do_one_initcall+0x4f/0x111
          [<c14655be>] kernel_init+0x115/0x166
          [<c10032af>] kernel_thread_helper+0x7/0x10
          [<ffffffff>] 0xffffffff
      
      The correct order should be :
      
      System (snd_seq_system_client_init) should be initialized before
      OSS sequencer(alsa_seq_oss_init) which is equivalent to :
      
      1. insmod sound/core/seq/snd-seq-device.ko
      2. insmod sound/core/seq/snd-seq.ko
      3. insmod sound/core/seq/snd-seq-midi-event.ko
      4. insmod sound/core/seq/oss/snd-seq-oss.ko
      
      Including sound/core/seq/oss/Makefile after other seq modules
      fixes the ordering and memory leak.
      Signed-off-by: NJaswinder Singh Rajput <jaswinderrajput@gmail.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      f96e0808
  12. 19 7月, 2009 2 次提交
  13. 15 7月, 2009 2 次提交
  14. 13 7月, 2009 1 次提交
  15. 10 7月, 2009 1 次提交
    • J
      ALSA: hda_intel: more strict alc880_parse_auto_config dig_nid checking · 9d30937a
      Jaroslav Kysela 提交于
      On some IbexPeak systems with ALC889A errors like "azx_get_response
      timeout, switching to polling mode: last cmd=0xaf9f000b" are produced,
      because non-existent codec #10 is wrongly accessed.
      
      The problem is that snd_hda_get_connections() returns out-of-range result
      for NID 0x1c (something like 0xf8f9 or 0xffff).
      
      This patch adds a check to alc880_parse_auto_config() to avoid using
      of this out-of-range NIDs. A better fix maybe to improve
      snd_hda_get_connections() routine to check for valid NID ranges if
      NIDs are expected as result.
      Signed-off-by: NJaroslav Kysela <perex@perex.cz>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      9d30937a