1. 20 2月, 2013 3 次提交
  2. 08 2月, 2013 3 次提交
    • T
      ALSA: hda - Yet another fix for broken HSW HDMI pin connections · c88d4e84
      Takashi Iwai 提交于
      A Haswell test machine showed that the invalid connection list, but
      this time it has only a single pin on the codec, thus the former fixup
      code doesn't work as it assumes the three pins blindly.
      
      This patch splits the former fixup code to two parts:
      - Enable eDP 1.2 for Haswell codec
      - Fix the connection list of pins on Haswell codec;
        the converter list is recorded dynamically in hdmi_add_cvt(), and
        applied in hdmi_add_pin()
      Signed-off-by: NMengdong Lin <mengdong.lin@intel.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      c88d4e84
    • M
      ALSA: hda - Add fixup for Haswell to enable all pin and convertor widgets · 1611a9c9
      Mengdong Lin 提交于
      Some Haswell machines support more than one display outputs (HDMI or DP),
      but its BIOS may not enable the codec's 2nd and 3rd pin and output cvt widgets.
      
      This patch implements a board-specific fixup for Intel Haswell Machines:
      If the hidden pins are not enabled by BIOS, the driver will enable them
      and call common code to update the codec tree.
      Signed-off-by: NMengdong Lin <mengdong.lin@intel.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      1611a9c9
    • T
      ALSA: hda - Remove limit of widget connections · 4eea3091
      Takashi Iwai 提交于
      Currently we set the max number of connections to be 32, but there
      seems codec that gives longer connection lists like AD1988, and we see
      errors in proc output and else.  (Though, in the case of AD1988, it's
      a list of all codecs connected to a single vendor widget, so this must
      be something fishy, but it's still valid from the h/w design POV.)
      
      This patch tries to remove this restriction.  For efficiency, we still
      use the fixed size array in the parser, but takes a dynamic array when
      the size is reported to be greater than that.
      
      Now the fixed array size is found only in patch_hdmi.c, but it should
      be fine, as the codec itself can't support so many pins.
      Reported-by: NRaymond Yau <superquad.vortex2@gmail.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      4eea3091
  3. 04 2月, 2013 1 次提交
  4. 01 2月, 2013 1 次提交
  5. 15 1月, 2013 1 次提交
    • T
      ALSA: hda/hdmi - Work around "alsactl restore" errors · 6f54c361
      Takashi Iwai 提交于
      When "alsactl restore" is performed on HDMI codecs, it tries to
      restore the channel map value since the channel map controls are
      writable.  But hdmi_chmap_ctl_put() returns -EBADFD when no PCM stream
      is assigned yet, and this results in an error message from alsactl.
      Although the error is harmless, it's certainly ugly and can be
      regarded as a regression.
      
      As a workaround, this patch changes the return code in such a case to
      be zero for making others happy.  (A slight excuse is: when the chmap
      is changed through the proper alsa-lib API, the PCM status is checked
      there anyway, so we don't have to be too strict in the kernel side.)
      
      Cc: <stable@vger.kernel.org> [v3.7+]
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      6f54c361
  6. 18 12月, 2012 1 次提交
  7. 14 12月, 2012 1 次提交
  8. 21 11月, 2012 1 次提交
  9. 07 11月, 2012 1 次提交
  10. 17 10月, 2012 1 次提交
    • T
      ALSA: hda - Add workaround for conflicting IEC958 controls · dcda5806
      Takashi Iwai 提交于
      When both an SPDIF and an HDMI device are created on the same card
      instance, multiple IEC958 controls are created with indices=0, 1, ...
      But the alsa-lib configuration can't know which index corresponds
      actually to which PCM device, and both the SPDIF and the HDMI
      configurations point to the first IEC958 control wrongly.
      
      This patch introduces a (hackish and ugly) workaround: the IEC958
      controls for the SPDIF device are re-labeled with device=1 when HDMI
      coexists.  The device=1 corresponds to the actual PCM device for
      SPDIF, so it's anyway a better representation.  In future, HDMI
      controls should be moved with the corresponding PCM device number,
      too.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      dcda5806
  11. 10 9月, 2012 1 次提交
  12. 07 9月, 2012 2 次提交
  13. 06 9月, 2012 4 次提交
  14. 30 8月, 2012 1 次提交
  15. 22 8月, 2012 1 次提交
  16. 06 8月, 2012 1 次提交
  17. 28 7月, 2012 1 次提交
  18. 27 7月, 2012 1 次提交
  19. 20 7月, 2012 1 次提交
  20. 17 7月, 2012 1 次提交
  21. 16 7月, 2012 1 次提交
  22. 21 6月, 2012 3 次提交
  23. 20 6月, 2012 3 次提交
  24. 15 6月, 2012 5 次提交