1. 08 7月, 2011 4 次提交
    • L
      ALSA: hda - Fix VIA output-path init for VT2002P/1802/1812 · d69607b3
      Lydia Wang 提交于
      For VT2002P, VT1802 and VT1812 codecs, the original activate_output_path()
      function can't initialize output and hp path correctly, since mixers connected to
      output pin widgets are not considered. So modify the activate_output_path()
      function to satisify this kind of codec.
      Signed-off-by: NLydia Wang <lydiawang@viatech.com.cn>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      d69607b3
    • T
      ALSA: hda - Split quirk codes from patch_realtek.c · 1d045db9
      Takashi Iwai 提交于
      Put the all static quirk codes out of patch_realtek.c, split into the
      file for each codec model.  For controlling the build of quirk codes,
      a new Kconfig, CONFIG_SND_HDA_ENABLE_REALTEK_QUIRKS is introduced.
      By setting this off, all quirk codes won't be built, thus you can save
      lots of memory.
      
      The codes in patch_realtek.c are also shuffled and more comments are
      given, but the contents aren't changed.  This is just a refactoring.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      1d045db9
    • T
      ALSA: hda - Use common paser for digital I/O for ALC260 · 0e4a73ae
      Takashi Iwai 提交于
      Avoid open-codes.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      0e4a73ae
    • 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 次提交