1. 27 Nov, 2008 5 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
    • Takashi Iwai's avatar
      ALSA: hda - Fix PCM reconfigure · 529bd6c4
      Takashi Iwai authored
      The reconfiguration of PCM affected all PCM streams on the bus, but
      this this should be done rather only for the target codec.
      
      This patch does the following:
      - introduce bitmap indicating the PCM device usages on a hda_bus
      - refactor the PCM build functions
      - fix __devinit prefix in some fucntions
      - add a proper ifdef around HDA-reconfig-specific functions
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      529bd6c4
    • Takashi Iwai's avatar
      ALSA: hda - Move power_save option to hda_intel.c · fee2fba3
      Takashi Iwai authored
      Move power_save option into hda_intel.c, and make a field in hda_bus,
      instead of keeping module parameters in separate files.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      fee2fba3
    • Takashi Iwai's avatar
      ALSA: hda - make some functions static · 986862bd
      Takashi Iwai authored
      Minor clean ups: move snd_hda_codecs_inuse() into hda_intel.c and
      make static.  Also, make snd_hda_query_supported_pcm() static
      as it's used only in hda_codec.c.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      986862bd
  2. 26 Nov, 2008 1 commit
  3. 25 Nov, 2008 11 commits
  4. 24 Nov, 2008 3 commits
    • Takashi Iwai's avatar
      ALSA: hda - Add probe_mask quirk for Medion MD96630 · ef1681d8
      Takashi Iwai authored
      Medion MD96630 has ALC268 codec on slot#2 although it's not used
      for any purpose.  This codec conflicts with the primiary codec ALC888
      on slot#0, and gives mixer errors.
      
      This patch adds a corresponding entry to probe_mask blacklist.
      
      Reference: Novell bnc#412528
      	https://bugzilla.novell.com/show_bug.cgi?id=412528Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      ef1681d8
    • 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
    • Takashi Iwai's avatar
      ALSA: hda - No 'Headphone as Line-out' swich without line-outs · a9cb5c90
      Takashi Iwai authored
      STAC/IDT driver creates "Headphone as Line-Out" switch even if there
      is no line-out pins on the machine.  For devices only with headpohnes
      and speaker-outs, this switch shouldn't be created.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      a9cb5c90
  5. 22 Nov, 2008 7 commits
  6. 21 Nov, 2008 13 commits