1. 13 3月, 2012 2 次提交
  2. 12 3月, 2012 1 次提交
  3. 10 3月, 2012 1 次提交
    • T
      ALSA: hda - Initialize vmaster slave volumes · 18478e8b
      Takashi Iwai 提交于
      When the driver is changed to use vmaster or a new slave element is
      added by the improvement of the parser code, user may face often the
      silent output because of the muted slave mixer although Master volume
      is properly set.  And they complain.  And I get upset.
      
      Although such a mixer element should be initialized via "alsactl init",
      it'd be more user-friendly if the known output slaves are unmuted and
      set to 0dB so that user can control the volume only with Master as
      default.  Since Master is still set muted as default even with this
      change, no risk of the speaker blow up, too.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      18478e8b
  4. 03 2月, 2012 1 次提交
    • T
      ALSA: hda - Add suffix argument to snd_hda_add_vmaster() · 9322ca54
      Takashi Iwai 提交于
      In most cases, the slave strings for vmaster are identical between
      volumes and switches except for "xxx Volume" and "xxx Switch" suffix.
      Now snd_hda_add_vmaster() takes the optional suffix argument so that
      each string can be composed with the given suffix, and we can share the
      slave name strings in both volume and switch calls nicely.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      9322ca54
  5. 10 1月, 2012 1 次提交
  6. 02 12月, 2011 1 次提交
    • T
      ALSA: hda - Integrate input-jack stuff into kctl-jack · 31ef2257
      Takashi Iwai 提交于
      Instead of managing input-jack stuff separately, call all stuff inside
      the kctl-jack creation, deletion and report.  The caller no longer needs
      to care about input-jack.
      
      The better integration between input-jack and kctl-jack should be done
      in the upper layer in near future, but for now, it's implemented locally
      for more tests.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      31ef2257
  7. 16 11月, 2011 5 次提交
  8. 10 11月, 2011 1 次提交
    • T
      ALSA: hda - Re-enable the check NO_PRESENCE misc bit · 2f451d2a
      Takashi Iwai 提交于
      We disabled the check of NO_PRESENCE bit of the default pin-config
      in commit f4419172 temporarily.  One problem was that the first
      implementation was wrong -- the bit after the shift must be checked.
      However, this would still give many regressions on machines with broken
      BIOS.  They set this bit wrongly even on active pins.
      
      A workaround is to check whether all pins contain this bit.  As far as
      I've checked, broken BIOSen set this bit on all pins, no matter whether
      active or not.  In such a case, the driver should ignore this bit check.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      2f451d2a
  9. 06 11月, 2011 1 次提交
    • T
      ALSA: hda - Revert the check of NO_PRESENCE pincfg default bit · f4419172
      Takashi Iwai 提交于
      The implementation on commit [08a1f5eb: ALSA: hda - Check NO_PRESENCE
      pincfg default bit] seems like a mis-interpretation of specification.
      The spec gives the reversed bit definition.  But, following the spec
      also causes to change so many existing device configurations, thus we
      can't change it so easily for now.  For 3.2-rc1, it's safer to revert
      this check (actually this patch comments out the code).
      
      We may re-introduced the fixed version once after the wider test-case
      coverages are done.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      f4419172
  10. 02 11月, 2011 1 次提交
  11. 27 10月, 2011 1 次提交
  12. 06 10月, 2011 1 次提交
  13. 03 10月, 2011 1 次提交
    • P
      ALSA: hda/hdmi: expose ELD control · 14bc52b8
      Pierre-Louis Bossart 提交于
      Applications may want to read ELD information to
      understand what codecs are supported on the HDMI
      receiver and handle the a-v delay for better lip-sync.
      
      ELD information is exposed in a device-specific
      IFACE_PCM kcontrol. Tested both with amixer and
      PulseAudio; with a corresponding patch passthrough modes
      are enabled automagically.
      
      ELD control size is set to zero in case of errors or
      wrong configurations. No notifications are implemented
      for now, it is expected that jack detection is used to
      reconfigure the audio outputs.
      Signed-off-by: NPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      14bc52b8
  14. 24 8月, 2011 1 次提交
  15. 23 8月, 2011 1 次提交
  16. 15 8月, 2011 1 次提交
  17. 26 7月, 2011 1 次提交
  18. 28 6月, 2011 1 次提交
  19. 06 6月, 2011 2 次提交
    • S
      ALSA: hda: hdmi_eld_update_pcm_info: update a stream in place · 2def8172
      Stephen Warren 提交于
      A future change won't store an entire hda_pcm_stream just to represent
      the capabilities of a codec; a custom data-structure will be used. To
      ease that transition, modify hdmi_eld_update_pcm_info to expect the
      hda_pcm_stream to be pre-initialized with the codec's capabilities, and
      to update those capabilities in-place based on the ELD.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      2def8172
    • S
      ALSA: hda: Virtualize SPDIF out controls · 74b654c9
      Stephen Warren 提交于
      The SPDIF output controls apply to converter widgets. A future change
      will create a PCM device per pin widget, and hence a set of SPDIF output
      controls per pin widget, for certain HDMI codecs. To support this, we
      need the ability to virtualize the SPDIF output controls. Specifically:
      
      * Controls can be "unassigned" from real hardware when a converter is
        not used for the PCM the control was created for.
      * Control puts only write to hardware when they are assigned.
      * Controls can be "assigned" to real hardware when a converter is picked
        to support output for a particular PCM.
      * When a converter is assigned, the hardware is updated to the cached
        configuration.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      74b654c9
  20. 17 5月, 2011 2 次提交
  21. 02 5月, 2011 2 次提交
  22. 03 3月, 2011 1 次提交
  23. 18 1月, 2011 1 次提交
  24. 17 10月, 2010 1 次提交
  25. 17 9月, 2010 1 次提交
  26. 09 9月, 2010 3 次提交
  27. 30 8月, 2010 2 次提交
  28. 13 8月, 2010 1 次提交
    • T
      ALSA: hda - Restrict PCM parameters per ELD information over HDMI · bbbe3390
      Takashi Iwai 提交于
      When a device is plugged over HDMI, it passes some information in ELD
      including the supported PCM parameters like formats, rates, channels.
      This patch adds the check to PCM open callback of HDMI streams so that
      only valid parameters the device supports are used.
      
      When no device is plugged, the parameters the codec supports are used;
      it's mostly all parameters the hardware can work.  This is for apps
      that are started before device plugging and do probing (e.g. a sound
      daemon), so that at least, probing would work even before the device
      plugging.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      bbbe3390
  29. 19 3月, 2010 1 次提交