1. 28 11月, 2008 2 次提交
  2. 27 11月, 2008 5 次提交
    • T
      ALSA: hda - Modularize HD-audio driver · 1289e9e8
      Takashi Iwai 提交于
      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: NTakashi Iwai <tiwai@suse.de>
      1289e9e8
    • T
      ALSA: hda - Fix creation of automatic capture mixers · 30d72e9f
      Takashi Iwai 提交于
      Fixed a wrong boundary check of num_adc_nids in set_capture_mixer()
      in patch_realtek.c.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      30d72e9f
    • T
      ALSA: hda - Fix PCM reconfigure · 529bd6c4
      Takashi Iwai 提交于
      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: NTakashi Iwai <tiwai@suse.de>
      529bd6c4
    • T
      ALSA: hda - Move power_save option to hda_intel.c · fee2fba3
      Takashi Iwai 提交于
      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: NTakashi Iwai <tiwai@suse.de>
      fee2fba3
    • T
      ALSA: hda - make some functions static · 986862bd
      Takashi Iwai 提交于
      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: NTakashi Iwai <tiwai@suse.de>
      986862bd
  3. 26 11月, 2008 1 次提交
  4. 25 11月, 2008 12 次提交
  5. 24 11月, 2008 2 次提交
    • V
      ALSA: hda: Added an ALC888 model entry for Fujitsu-Siemens Amilo Xa3530 · ef8ef5fb
      Vincent Petry 提交于
      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: NVincent Petry <PVince81@yahoo.fr>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      ef8ef5fb
    • T
      ALSA: hda - No 'Headphone as Line-out' swich without line-outs · a9cb5c90
      Takashi Iwai 提交于
      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: NTakashi Iwai <tiwai@suse.de>
      a9cb5c90
  6. 22 11月, 2008 10 次提交
  7. 21 11月, 2008 8 次提交