1. 12 Jan, 2009 1 commit
  2. 09 Jan, 2009 1 commit
    • Wu Fengguang's avatar
      ALSA: hda - create hda_codec.control_mutex for kcontrol->private_value · 5a9e02e9
      Wu Fengguang authored
      
      Fix the following lockdep warning by not reusing the hda_codec.spdif_mutex.
      
          ALSA sound/pci/hda/hda_codec.c:882: hda_codec_cleanup_stream: NID=0x2
      
          =======================================================
          [ INFO: possible circular locking dependency detected ]
          2.6.28-next-20090102 #33
          -------------------------------------------------------
          mplayer/3151 is trying to acquire lock:
           (&pcm->open_mutex){--..}, at: [<ffffffffa004ced3>] snd_pcm_release+0x43/0xd0 [snd_pcm]
      
          but task is already holding lock:
           (&mm->mmap_sem){----}, at: [<ffffffff810c0252>] sys_munmap+0x42/0x80
      
          which lock already depends on the new lock.
      Signed-off-by: default avatarWu Fengguang <fengguang.wu@intel.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      5a9e02e9
  3. 08 Jan, 2009 2 commits
  4. 01 Jan, 2009 2 commits
  5. 28 Nov, 2008 2 commits
  6. 27 Nov, 2008 2 commits
    • Takashi Iwai's avatar
      ALSA: hda - Modularize HD-audio driver · 1289e9e8
      Takashi Iwai authored
      
      Split the monolithc HD-audio driver into several pieces:
       - snd-hda-intel   HD-audio PCI controller driver; loaded via udev
       - snd-hda-codec   HD-audio codec bus driver
       - snd-hda-codec-* Specific HD-audio codec drivers
      
      When built as modules, snd-hda-codec (that is invoked by snd-hda-intel)
      looks up the codec vendor ID and loads the corresponding codec module
      automatically via request_module().
      
      When built in a kernel, each codec drivers are statically hooked up
      before probing the PCI.
      
      This patch adds appropriate EXPORT_SYMBOL_GPL()'s and the module
      information for each driver, and driver-linking codes between
      codec-bus and codec drivers.
      
      TODO:
        - Avoid EXPORT_SYMBOL*() when built-in kernel
        - Restore __devinit appropriately depending on the condition
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      1289e9e8
    • Takashi Iwai's avatar
      ALSA: hda - Fix creation of automatic capture mixers · 30d72e9f
      Takashi Iwai authored
      
      Fixed a wrong boundary check of num_adc_nids in set_capture_mixer()
      in patch_realtek.c.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      30d72e9f
  7. 25 Nov, 2008 1 commit
  8. 24 Nov, 2008 1 commit
    • Vincent Petry's avatar
      ALSA: hda: Added an ALC888 model entry for Fujitsu-Siemens Amilo Xa3530 · ef8ef5fb
      Vincent Petry authored
      
      This patch fixes the bug 0004240: ALC888 - Intel HDA - Headphone Controlling.
      It is made against the 2008-11-23 snapshot.
      
      Added Realtek ALC888 model entry for the Fujitsu-Siemens Amilo Xa3530
      laptop. It has 4 jacks: HP out, Mic-in, Line-in and Line-out/Side/SPDIF
      (this one is on the laptop side, the other ones are on the rear).
      
      Model detection works.
      Headphone jack sense works now.
      Front mic works now, was same as Acer Aspire 4930G.
      Added channel mode from 2 to 8 channels.
      
      In 2ch and 4ch modes, the front is also sent to the Line-out/side jack
      for convenience instead of just muting the Line-out/side jack like other
      models do.
      
      When using the Mic-in jack as CLFE, the sound is very low (bug?). To
      work it around, in 6ch mode the CLFE channel is duplicated to the
      Line-out/side jack because this one has a better amp.
      
      Cc: manu@frogged.de
      Signed-off-by: default avatarVincent Petry <PVince81@yahoo.fr>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      ef8ef5fb
  9. 20 Nov, 2008 1 commit
  10. 18 Nov, 2008 1 commit
  11. 17 Nov, 2008 1 commit
  12. 07 Nov, 2008 1 commit
  13. 06 Nov, 2008 1 commit
    • Tony Vroon's avatar
      ALSA: hda - Add lifebook model for Realtek ALC269 · 64154835
      Tony Vroon authored
      
      The widget layout of the Fujitsu Lifebook S6420 (which is ICH9M-based
      and uses an ALC269) is similar but not identical to the Lifebook
      S6410/E8410 (which are ICH8M-based and use an ALC262).
      
      It is named lifebook as fujitsu is in use for Amilo machines. This builds
      on the Quanta FL1 work and supports all analog inputs & outputs that I am
      aware of.  Microphone autoswitch is implemented. The laptop mic port takes
      precedence over the dock mic port if both happen to have a jack plugged in.
      This made sense to me as a design decision (imagine a presentation
      environment with the dock fully wired in and the presenter quickly wanting
      to override the mic with a headset).
      
      There is mention of a digital audio path on the codec graph, so perhaps
      the headphone socket is dual-function analog/digital. I will follow up
      with another patch if I can acquire equipment to test this.
      Signed-off-by: default avatarTony Vroon <tony@linx.net>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      64154835
  14. 05 Nov, 2008 3 commits
  15. 03 Nov, 2008 3 commits
  16. 31 Oct, 2008 6 commits
  17. 27 Oct, 2008 1 commit
  18. 21 Oct, 2008 1 commit
    • Takashi Iwai's avatar
      ALSA: hda - Fix conflicting volume controls on ALC260 · 863b4518
      Takashi Iwai authored
      
      ALC260 auto-parsing mode may create multiple controls for the same volume
      widget (0x08 and 0x09) depending on the pin.  For example, Front and
      Headphone volumes may control the same volume, just the latter one wins.
      
      This patch adds a proper check of the existing of the volume control
      and avoid the doulbed creation of the same volume controls.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      863b4518
  19. 15 Oct, 2008 6 commits
  20. 12 Oct, 2008 1 commit
  21. 10 Oct, 2008 2 commits