1. 27 Oct, 2011 3 commits
    • Takashi Iwai's avatar
      ALSA: hda - Fix ADC input-amp handling for Cx20549 codec · 6b452142
      Takashi Iwai authored
      It seems that Conexant CX20549 chip handle only a single input-amp even
      though the audio-input widget has multiple sources.  This has been never
      clear, and I implemented in the current way based on the debug information
      I got at the early time -- the device reacts individual input-amp values
      for different sources.  This is true for another Conexant codec, but it's
      not applied to CX20549 actually.
      
      This patch changes the auto-parser code to handle a single input-amp
      per audio-in widget for CX20549.  After applying this, you'll see only a
      single "Capture" volume control instead of separate "Mic" or "Line"
      captures when the device is set up to use a single ADC.
      
      We haven't tested 20551 and 20561 codecs yet.  If these show the similar
      behavior like 20549, they need to set spec->single_adc_amp=1, too.
      
      Cc: <stable@kernel.org>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      6b452142
    • Takashi Iwai's avatar
      ALSA: hda - Keep EAPD turned on for old Conexant chips · 254f2968
      Takashi Iwai authored
      In the old Conexant chips (5045, 5047, 5051 and 5066), a single EAPD
      may handle both headphone and speaker outputs while it's assigned only
      to one of them.  Turning off dynamically leads to the unexpected silent
      output in such a configuration with the auto-mute function.
      
      Since it's difficult to know how the EAPD is handled in the actual h/w
      implementation, better to keep EAPD on while running for such codecs.
      
      Cc: <stable@kernel.org>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      254f2968
    • Takashi Iwai's avatar
      ALSA: hda/realtek - Fix missing volume controls with ALC260 · 527e4d73
      Takashi Iwai authored
      ALC260 has multiple mixer widgets connected to the shared DAC, but the
      driver currently doesn't check this possibility and ignores when the DAC
      is shared with others.  This resulted in the silent output from some
      routes because of lack of the amp setup.
      
      This patch adds the workaround for it by checking the route even with the
      shared DAC, but also checking the conflict with the existing control for
      the very same widget NID.
      
      Reference: https://bugzilla.novell.com/show_bug.cgi?id=726812Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      527e4d73
  2. 26 Oct, 2011 3 commits
  3. 24 Oct, 2011 1 commit
  4. 21 Oct, 2011 1 commit
    • Takashi Iwai's avatar
      ALSA: hda/realtek - Fix DAC assignments of multiple speakers · 716eef03
      Takashi Iwai authored
      When a device has multiple speakers and still has the auto-mute support,
      the driver copies line_outs[] to speaker_outs[].  And then it tries to
      assign DACs for both.  This ended up with the assignment only to the
      primary DAC to all speakers.
      
      This patch fixes the situation by checking the duplicated LO/SPK case
      appropriately.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      716eef03
  5. 19 Oct, 2011 1 commit
  6. 18 Oct, 2011 2 commits
  7. 17 Oct, 2011 5 commits
  8. 13 Oct, 2011 2 commits
  9. 06 Oct, 2011 5 commits
  10. 05 Oct, 2011 2 commits
  11. 04 Oct, 2011 1 commit
  12. 03 Oct, 2011 2 commits
  13. 30 Sep, 2011 1 commit
  14. 28 Sep, 2011 4 commits
    • Takashi Iwai's avatar
      ALSA: hda - Allow patching with any vendor/subsystem ids · ef940b04
      Takashi Iwai authored
      In the ugly real world, there area really broken devices that don't set
      codec SSID correctly.  In such a case, the ID can be random, thus the
      patching won't work reliably.
      
      For applying the patch forcibly to such a device, the driver will skip
      the vendor and/or subsystem ID checks when zero or a negative number is
      given in [codec] section.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      ef940b04
    • Takashi Iwai's avatar
      ALSA: hda - Add snoop option · 27fe48d9
      Takashi Iwai authored
      Added a new option "snoop" for the traffic control of the HD-audio
      controller chip.  When set to 0, the non-snooping mode is used with
      the traffic control bit is set in each stream control register.
      This may allow better operations in the low power mode, but the actual
      implementation is depending pretty much on the chipset.
      
      As already implemented, more or less each chipset has own snoop-control
      register bit.  Now this setup refers to the snoop option, too.
      
      Also, a new VIA chipset may require the non-snooping mode when set so
      in BIOS.  In such a case, the option value is overridden.
      
      As default, it's still set to snoop=1 for keeping the same behavior as
      before.  In near future, it'll be set to 0 as default after checking
      it works in every system well.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      27fe48d9
    • Takashi Iwai's avatar
      ALSA: pcm - Export snd_pcm_lib_default_mmap() helper · 18a2b962
      Takashi Iwai authored
      Export the default mmap function, snd_pcm_lib_default_mmap().
      The upcoming non-snooping support in HD-audio driver will use this
      to override the mmap method.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      18a2b962
    • Takashi Iwai's avatar
      ALSA: hda:via - Skip creations of empty PCM streams · a5973103
      Takashi Iwai authored
      If no analog I/O is defined, skip creating the corresponding PCM stream.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      a5973103
  15. 27 Sep, 2011 3 commits
  16. 26 Sep, 2011 4 commits