1. 08 7月, 2011 13 次提交
  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 3 次提交
    • W
      ALSA: HDMI - fix ELD monitor name length · f5b2d0ef
      Wu Fengguang 提交于
      I noticed that the last character of the ELD monitor name is lost,
      this fixes the issue.
      
      This fix should be confirming to the HDA spec, and works together with
      the DRM part of the ELD patch.
      
      The HDA spec does not mention that Monitor_Name_String is an '\0'
      ending string, and it allows NML to be 1, which is only valid when MNL
      does not count the possible ending '\0'.
      Signed-off-by: NWu Fengguang <fengguang.wu@intel.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      f5b2d0ef
    • L
      ALSA: hda - Fix jack-detection on non-VT1708 VIA codecs · e322a36d
      Lydia Wang 提交于
      Move codec init verb which is only applicatable for VT1708.
      
      I've found the root cause that jack plugged in can't be detected.
      The verb in vt1708_init_verbs is used to power down jack detect circuit.
      This verb is only applicable to VT1708. vt1708 didn't implement jack
      detect function in hardware, so we should shut down this function to
      avoid noise. But for other codecs, hardware implement jack detect
      function. If sending this verb during initialization, jack detect will
      be invalid. So I move this verb from via_parse_auto_config() to
      patch_vt1708().
      Signed-off-by: NLydia Wang <lydiawang@viatech.com.cn>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      e322a36d
    • T
      ALSA: hda - Fix unused variable warning · 94230c11
      Takashi Iwai 提交于
      sound/pci/hda/patch_cmedia.c: In function ‘cmi9880_fill_multi_init’:
      sound/pci/hda/patch_cmedia.c:401:15: warning: unused variable ‘len’
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      94230c11