1. 21 1月, 2013 1 次提交
  2. 18 1月, 2013 1 次提交
  3. 12 1月, 2013 1 次提交
  4. 09 5月, 2012 1 次提交
  5. 01 11月, 2011 1 次提交
  6. 29 6月, 2011 2 次提交
  7. 06 6月, 2011 1 次提交
    • S
      ALSA: hda: Virtualize SPDIF out controls · 74b654c9
      Stephen Warren 提交于
      The SPDIF output controls apply to converter widgets. A future change
      will create a PCM device per pin widget, and hence a set of SPDIF output
      controls per pin widget, for certain HDMI codecs. To support this, we
      need the ability to virtualize the SPDIF output controls. Specifically:
      
      * Controls can be "unassigned" from real hardware when a converter is
        not used for the PCM the control was created for.
      * Control puts only write to hardware when they are assigned.
      * Controls can be "assigned" to real hardware when a converter is picked
        to support output for a particular PCM.
      * When a converter is assigned, the hardware is updated to the cached
        configuration.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      74b654c9
  8. 02 5月, 2011 1 次提交
  9. 18 1月, 2011 1 次提交
  10. 23 12月, 2009 1 次提交
  11. 15 12月, 2009 1 次提交
  12. 04 12月, 2009 1 次提交
  13. 05 11月, 2009 1 次提交
  14. 28 7月, 2009 1 次提交
  15. 20 2月, 2009 1 次提交
  16. 27 11月, 2008 1 次提交
    • 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
  17. 30 5月, 2008 1 次提交
  18. 24 4月, 2008 5 次提交
    • J
      [ALSA] hda - PCI quirk for laptop LG which use CMI9880 · 5b030389
      Jiang zhe 提交于
      Please refer to [0003874] on the alsa mantis.
      This patch added the pci quirk.
      Signed-off-by: NJiang zhe <zhe.jiang@intel.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      5b030389
    • T
      [ALSA] hda-codec - keep the format verb at closing PCM streams · 888afa15
      Takashi Iwai 提交于
      Keep the format verb at closing PCM streams.
      Introduced snd_hda_codec_cleanup_stream() for the parcicular purpose.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      888afa15
    • H
      [ALSA] sound: hda: missing includes of hda_patch.h · 3c9a3203
      Harvey Harrison 提交于
      Move the array declaration to hda_codec.c where it is used and add includes
      where the individual presets are declared.
      
      Fixes the following sparse warnings:
      sound/pci/hda/patch_realtek.c:13744:25: warning: symbol 'snd_hda_preset_realtek' was not declared. Should it be static?
      sound/pci/hda/patch_cmedia.c:729:25: warning: symbol 'snd_hda_preset_cmedia' was not declared. Should it be static?
      sound/pci/hda/patch_analog.c:3656:25: warning: symbol 'snd_hda_preset_analog' was not declared. Should it be static?
      sound/pci/hda/patch_sigmatel.c:3995:25: warning: symbol 'snd_hda_preset_sigmatel' was not declared. Should it be static?
      sound/pci/hda/patch_si3054.c:286:25: warning: symbol 'snd_hda_preset_si3054' was not declared. Should it be static?
      sound/pci/hda/patch_atihdmi.c:156:25: warning: symbol 'snd_hda_preset_atihdmi' was not declared. Should it be static?
      sound/pci/hda/patch_conexant.c:1721:25: warning: symbol 'snd_hda_preset_conexant' was not declared. Should it be static?
      sound/pci/hda/patch_via.c:1962:25: warning: symbol 'snd_hda_preset_via' was not declared. Should it be static?
      Signed-off-by: NHarvey Harrison <harvey.harrison@gmail.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      3c9a3203
    • T
      [ALSA] hda-codec - Add "IEC958 Default PCM" switch · 9a08160b
      Takashi Iwai 提交于
      Added a new mixer switch to enable/disable the sharing of the default
      PCM stream with analog and SPDIF outputs.  When "IEC958 Default PCM"
      switch is on, the PCM stream is routed both to analog and SPDIF outputs.
      This is the behavior in the earlier version.
      
      Turning this switch off has a merit for some codecs, though.  Some codec
      chips don't support 24bit formats for SPDIF but only for analog outputs.
      In this case, you can use 24bit format by disabling this switch.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      9a08160b
    • T
      [ALSA] hda-intel - Fix PCM device number assignment · 7ba72ba1
      Takashi Iwai 提交于
      In the current scheme, PCM device numbers are assigned incrementally
      in the order of codecs.  This causes problems when the codec number
      is irregular, e.g. codec #0 for HDMI and codec #1 for analog.  Then
      the HDMI becomes the first PCM, which is picked up as the default
      output device.  Unfortuantely this doesn't work well with normal
      setups.
      
      This patch introduced the fixed device numbers for the PCM types,
      namely, analog, SPDIF, HDMI and modem.  The PCM devices are assigned
      according to the corresponding PCM type.  After this patch, HDMI will
      be always assigned to PCM #3, SPDIF to PCM #1, and the first analog
      to PCM #0, etc.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      7ba72ba1
  19. 01 2月, 2008 2 次提交
  20. 23 10月, 2007 1 次提交
  21. 16 10月, 2007 1 次提交
    • T
      [ALSA] hda-codec - optimize resume using caches · 82beb8fd
      Takashi Iwai 提交于
      So far, the driver looked the table of snd_kcontrol_new used for creating
      mixer elements and forces to call each of its put callbacks in PM resume
      code.  This is too ugly and hackish.
      Now, the resume is simplified using the codec amp and command register
      caches.  The driver simply restores the values that have been written
      in the cache table.  With this simplification, most codec support codes
      don't require any special resume callback.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      Signed-off-by: NJaroslav Kysela <perex@suse.cz>
      82beb8fd
  22. 11 5月, 2007 1 次提交
  23. 09 2月, 2007 1 次提交
  24. 03 1月, 2006 4 次提交
  25. 12 9月, 2005 1 次提交
    • T
      [ALSA] Replace with kzalloc() - pci stuff · e560d8d8
      Takashi Iwai 提交于
      AD1889 driver,ATIIXP driver,ATIIXP-modem driver,AZT3328 driver
      BT87x driver,CMIPCI driver,CS4281 driver,ENS1370/1+ driver
      ES1938 driver,ES1968 driver,FM801 driver,Intel8x0 driver
      Intel8x0-modem driver,Maestro3 driver,SonicVibes driver,VIA82xx driver
      VIA82xx-modem driver,AC97 Codec,AK4531 codec,au88x0 driver
      CA0106 driver,CS46xx driver,EMU10K1/EMU10K2 driver,HDA Codec driver
      HDA generic driver,HDA Intel driver,ICE1712 driver,ICE1724 driver
      KORG1212 driver,MIXART driver,NM256 driver,Trident driver,YMFPCI driver
      Replace kcalloc(1,..) with kzalloc().
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      e560d8d8
  26. 30 8月, 2005 1 次提交
  27. 28 7月, 2005 1 次提交
  28. 22 6月, 2005 1 次提交
    • T
      [ALSA] hda-codec - More fix of ALC880 codec support · e9edcee0
      Takashi Iwai 提交于
      Documentation,HDA Codec driver,HDA generic driver,HDA Intel driver
      - Fix some invalid configurations, typos in the last patch
      - Make init_verbs chainable, so that different configs can share the same
        init_verbs
      - Reorder and clean up the source codes in patch_realtek.c
      - Add the pin default configuration parser, used commonly in cmedia
        and realtek patch codes.
      - Add 'auto' model to ALC880 for auto-configuration from BIOS
        Use this model as default, and 3-stack as fallback
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      e9edcee0
  29. 29 5月, 2005 3 次提交
    • T
      [ALSA] Fix and cleanup of CM9880 auto-configuration · d21b37ea
      Takashi Iwai 提交于
      HDA Codec driver
      Fix and cleanup of CM9880 automatic PIN configuration.
      snd_hda_codec_setup_stream() doesn't do anything when NID is 0.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      d21b37ea
    • T
      [ALSA] choose multi-channel jacks automatically · f953eff2
      Takashi Iwai 提交于
      HDA Codec driver
      Patch by C.L. Tien <cltien@cmedia.com.tw>:
      
      The patch makes cm9880 to choose multi-channel jacks automatically.
      
      1. I found the current code has basic_init, which already includes
         necessary controls for 6-stack initialization, so I don't need
         another model.
      
      2. I add a new model 'auto' to let the driver find a. if there are
         option real panel/front panel, b. the jacks to be used for multichannel.
      
      Because the jack color are based on MS's channel sequence, so the 'auto'
      model will pick the same jacks for multichannel MS uses. I did this to
      hope to minimize users questions. These code can also be applied to other
      codecs but I don't have any to test.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      f953eff2
    • C
      [ALSA] fix multi-channel for model==full · d05b2817
      ChenLi Tien 提交于
      HDA Codec driver
      The patch_cm9880.c can't play side/C/B channels from front panel jacks.
      I fixed it by adding select pin.
      Signed-off-by: NChenLi Tien <cltien@cmedia.com.tw>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      d05b2817