1. 08 7月, 2011 1 次提交
    • T
      ALSA: hda - More flexible dynamic-ADC switching for Realtek codecs · 21268961
      Takashi Iwai 提交于
      This patch changes the auto-parser and the auto-mic handling codes to
      allow more flexible dynamic ADC-switching with Realtek codecs.
      
      In the new code, the following strategy is taken:
      
      - When a cap-src can't handle all input-sources, either skip it, or
        switch to the ADC-switching mode.  In ADC-switching mode, like the
        former dual-ADC mode for ALC275, it changes ADC on the fly according
        to the current input source.
      - When auto-mic is possible, always assign imux.  If the mic pins are
        set statically via a quirk, rebuild imux according to the pins.
        In the auto-mic mode, the driver always changes the imux (although
        the imux isn't exposed as a mixer element).
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      21268961
  2. 07 7月, 2011 12 次提交
  3. 06 7月, 2011 1 次提交
  4. 04 7月, 2011 5 次提交
  5. 01 7月, 2011 2 次提交
  6. 30 6月, 2011 4 次提交
    • T
      ALSA: hda - Re-implementation of VIA Independent-HP sharing with side stream · 25250505
      Takashi Iwai 提交于
      This patch adds the re-implementation of Independent-HP mode in the
      case where the DAC is shared between HP and side-channel streams.
      Now the driver tries to parse the output-path using the pre-parsed
      side-channel DAC for the independent HP output, too.
      
      When a playback PCM stream is opened with this shared mode, the
      Independent-HP mixer switch can't be changed for avoiding the conflict,
      thus it returns -EBUSY error.
      
      One remaining unintuitive issue is that the DAC volume is still
      controlled as "Side" volume although it's shared by both independent-HP
      and side streams.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      25250505
    • T
      ALSA: sb16 - Fix build errors on MIPS and others with 13bit ioctl size · 4f3c7a18
      Takashi Iwai 提交于
      One of ioctl definition in sound/sb16_csp.h contains the data size
      over 8kB, and this causes build errors on architectures like MIPS,
      which define _IOC_SIZEBITS=13.
      
      For avoiding this build errors but keeping the compatibility, manually
      expand with _IOC() instead of using _IOW() for the problematic ioctl.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      4f3c7a18
    • T
      ALSA: hdspm - Fix compile warnings with PPC · 286bed0f
      Takashi Iwai 提交于
      The char can be unsigned on some architectures.  Since the code checks
      the negative values, they should be declared as signed char explicitly.
      
        sound/pci/rme9652/hdspm.c:5449: warning: comparison is always false due to limited range of data type
        sound/pci/rme9652/hdspm.c:5462: warning: comparison is always false due to limited range of data type
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      286bed0f
    • T
      ALSA: cs5535 - Fix invalid big-endian conversions · 71276410
      Takashi Iwai 提交于
      Fix the wrongly converted short values:
        sound/pci/cs5535audio/cs5535audio_pcm.c:152: warning: large integer implicitly truncated to unsigned type
        sound/pci/cs5535audio/cs5535audio_pcm.c:160: warning: large integer implicitly truncated to unsigned type
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      71276410
  7. 29 6月, 2011 7 次提交
  8. 28 6月, 2011 5 次提交
  9. 27 6月, 2011 3 次提交
    • T
      ALSA: hda - More volume-init fixes for ALC267 codec · 4f574b7b
      Takashi Iwai 提交于
      More similar fixes like previous commits: handle the exceptional case
      like ALC267 where no volume amp is found in ADC widget but in the
      capsrc widget instead.
      
      Also minor checks for avoiding possible erros: no connection-select
      when the pin has a single selection, and add beep verbs only when the
      0x1d is used for beep.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      4f574b7b
    • T
      ALSA: hda - Fix volume-init for ALC259 with invalid widget caps · 7ec9c6cc
      Takashi Iwai 提交于
      ALC259 seems to provide an invalid widget capability for the input-src
      selector widget.  The widget shows the input-amp while it's a selector,
      and this confuses the current ALC882 initialization code that is used
      for ALC259, too.  For fixing this, check the amp capability and handle
      the connection selection individually.
      
      Also, ALC259 has no mute bit in DAC volume, so we need to initialize
      it as ZERO instead of MUTE.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      7ec9c6cc
    • T
      ALSA: hda - Fix volume-init of ALC299 & co · 050ea753
      Takashi Iwai 提交于
      ALC269 and compatible codecs have the output volume in DACs, thus we
      can't use the ALC880's code as is.  Fixed by checking the amp caps and
      picking up the right widget for initialization.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      050ea753