1. 13 10月, 2008 3 次提交
  2. 23 9月, 2008 2 次提交
  3. 24 4月, 2008 2 次提交
    • T
      [ALSA] Move vmaster code to sound core · e922b002
      Takashi Iwai 提交于
      Move the codes for virtual master controls to sound core part so that
      not only hda-intel drivers can use it.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      e922b002
    • 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
  4. 01 2月, 2008 5 次提交
  5. 20 11月, 2007 1 次提交
  6. 23 10月, 2007 2 次提交
  7. 16 10月, 2007 7 次提交
    • T
      [ALSA] hda-intel - Add POWER_SAVE option · cb53c626
      Takashi Iwai 提交于
      Added CONFIG_SND_HDA_POWER_SAVE kconfig.  It's an experimental option
      to achieve an aggressive power-saving.  With this option, the driver
      will turn on/off the power of each codec and controller chip dynamically
      on demand.
      The patch introduces a new module option 'power_save'.  It specifies
      the second of time-out for automatic power-down.  As default, it's
      10 seconds.  Setting 0 means to suppress the power-saving feature.
      The codec may have analog-input loopbacks, which are usually represented
      by mixer elements such as 'Mic Playback Switch' or 'CD Playback Switch'.
      When these are on, we cannot turn off the mixer and the codec chip has
      to be kept on.  For bookkeeping these states, a new codec-callback is
      introduced.
      For the bus-controller side, a new callback pm_notify is introduced,
      which can be used to turn on/off the contoller appropriately.
      Note that this power-saving might cause slight click-noise at
      power-on/off.  Also, it might take some time to wake up the codec, and
      might even drop some tones at the very beginning.  This seems to be the
      side-effect of turning off the controller chip.
      This turn-off of the controller can be disabled by undefining
      HDA_POWER_SAVE_RESET_CONTOLLER in hda_intel.c.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      Signed-off-by: NJaroslav Kysela <perex@suse.cz>
      cb53c626
    • T
      [ALSA] hda-codec - add snd_hda_codec_stereo() function · 47fd830a
      Takashi Iwai 提交于
      Added snd_hda_codec_amp_stereo() function that changes both of stereo
      channels with the same mask and value bits.  It simplifies most of
      amp-handling codes.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      Signed-off-by: NJaroslav Kysela <perex@suse.cz>
      47fd830a
    • 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
    • T
      [ALSA] hda-codec - introduce command register cache · b3ac5636
      Takashi Iwai 提交于
      This patch adds the cache for codec command registers.
      snd_hda_codec_write_cache() and snd_hda_sequence_write_cache() do
      the write operations with caching, which values can be resumed via
      snd_hda_codec_resume_cache().
      The patch introduces only the framework, and no codec code is using
      this cache yet.  It'll be implemented in the following patch.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      Signed-off-by: NJaroslav Kysela <perex@suse.cz>
      b3ac5636
    • T
      [ALSA] hda-codec - Add a generic bind-control helper · 532d5381
      Takashi Iwai 提交于
      Added callbacks for a generic bind-control of mixer elements.
      This can be used for creating a mixer element controlling multiple
      widgets at the same time.  Two macros, HDA_BIND_VOL() and HDA_BIND_SW(),
      are introduced for creating bind-volume and bind-switch, respectively.
      It taks the mixer element name and struct hda_bind_ctls pointer, which
      contains the real control callbacks in ops field and long array for
      private_value of each bound widget.
      All widgets have to be the same type (i.e. the same amp capability).
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      Signed-off-by: NJaroslav Kysela <perex@suse.cz>
      532d5381
    • T
      [ALSA] hda-intel - Add hwdep interface · 2807314d
      Takashi Iwai 提交于
      Added a hwdep interface for each codec (enabled per kconfig).
      This interface can be used for reading/writing HD-audio verbs
      and other purposes as future extensions.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      Signed-off-by: NJaroslav Kysela <perex@suse.cz>
      2807314d
    • T
      [ALSA] hda-intel - Coding style fixes · d01ce99f
      Takashi Iwai 提交于
      Fix codes to follow more to the standard kernel coding style.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      Signed-off-by: NJaroslav Kysela <perex@suse.cz>
      d01ce99f
  8. 31 5月, 2007 1 次提交
    • T
      [ALSA] hda-codec - Fix STAC922x capture boost level · 897cc188
      Takashi Iwai 提交于
      STAC922x provides the capture boost level up to 4, but actually it
      works only up to 2.  Since the range of the mixer is automatically
      defined from amp-capability bits, we need to override the value
      beforehand.  snd_hda_override_amp_caps() is introduced for this
      purpose.
      The function patch_stac922x() calls this for NID 0x12 (Mux Capture
      Volume).  This should fix another recording problem on Intel Macs.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      Signed-off-by: NJaroslav Kysela <perex@suse.cz>
      897cc188
  9. 11 5月, 2007 2 次提交
  10. 09 2月, 2007 2 次提交
  11. 22 11月, 2006 1 次提交
  12. 23 9月, 2006 3 次提交
  13. 22 3月, 2006 2 次提交
  14. 03 1月, 2006 6 次提交
  15. 04 11月, 2005 1 次提交