1. 01 2月, 2008 4 次提交
  2. 20 11月, 2007 1 次提交
  3. 23 10月, 2007 2 次提交
  4. 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
  5. 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
  6. 11 5月, 2007 2 次提交
  7. 09 2月, 2007 2 次提交
  8. 22 11月, 2006 1 次提交
  9. 23 9月, 2006 3 次提交
  10. 22 3月, 2006 2 次提交
  11. 03 1月, 2006 6 次提交
  12. 04 11月, 2005 1 次提交
  13. 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
  14. 29 5月, 2005 1 次提交
  15. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4