1. 25 12月, 2009 1 次提交
    • W
      ALSA: hda - HDMI sticky stream tag support · ef18bede
      Wu Fengguang 提交于
      When we run the following commands in turn (with
      CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0),
      
      	speaker-test -Dhw:0,3 -c2 -twav  # HDMI
      	speaker-test -Dhw:0,0 -c2 -twav  # Analog
      
      The second command will produce sound in the analog lineout _as well as_
      HDMI sink. The root cause is, device 0 "reuses" the same stream tag that
      was used by device 3, and the "intelhdmi - sticky stream id" patch leaves
      the HDMI codec in a functional state. So the HDMI codec happily accepts
      the audio samples which reuse its stream tag.
      
      The proposed solution is to remember the last device each azx_dev was
      assigned to, and prefer to
      1) reuse the azx_dev (and hence the stream tag) the HDMI codec last used
      2) or assign a never-used azx_dev for HDMI
      
      With this patch and the above two speaker-test commands,
      HDMI codec will use stream tag 8 and Analog codec will use 5.
      
      The stream tag used by HDMI codec won't be reused by others, as long
      as we don't run out of the 4 playback azx_dev's. The legacy Analog
      codec will continue to use stream tag 5 because its device id is 0
      (this is a bit tricky).
      Signed-off-by: NWu Fengguang <fengguang.wu@intel.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      ef18bede
  2. 22 12月, 2009 1 次提交
  3. 14 12月, 2009 1 次提交
  4. 11 12月, 2009 1 次提交
  5. 09 12月, 2009 1 次提交
  6. 01 12月, 2009 1 次提交
  7. 30 11月, 2009 1 次提交
  8. 16 11月, 2009 1 次提交
  9. 10 11月, 2009 1 次提交
  10. 07 11月, 2009 1 次提交
    • T
      ALSA: hda - Don't initialize CORB/RIRB for single_cmd mode · 1a696978
      Takashi Iwai 提交于
      So far, CORB/RIRB still remains even if the driver is switched to the
      single_cmd mode.  The specification says that this should be disabled,
      but I hoped this isn't the case; indeed most devices worked together with
      CORB/RIRB.
      
      However, Poulsbo (US15W) seems problematic with this setup, and it
      requires to disable CORB/RIRB when single_cmd is used.
      
      Now this patch disables CORB/RIRB initialization when the single_cmd
      mode is used.  Also the unsolicited event is disabled because it can't
      work without RIRB.
      Reported-and-tested-by: NTroy Kisky <troy.kisky@boundarydevices.com>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      1a696978
  11. 30 10月, 2009 2 次提交
  12. 28 9月, 2009 1 次提交
  13. 24 9月, 2009 1 次提交
  14. 11 8月, 2009 1 次提交
  15. 03 8月, 2009 6 次提交
  16. 17 7月, 2009 1 次提交
  17. 08 7月, 2009 1 次提交
  18. 05 7月, 2009 1 次提交
  19. 04 7月, 2009 2 次提交
  20. 24 6月, 2009 2 次提交
    • T
      ALSA: hda - Add patch module option · 4ea6fbc8
      Takashi Iwai 提交于
      Added the patch module option to apply a "patch" as a firmware to
      modify pin configurations or give additional hints to the driver
      before actually initializing and configuring the codec.
      
      This can be used as a workaround when the BIOS doesn't give sufficient
      information or give wrong information that doesn't match with the real
      hardware setup, until it's fixed statically in the driver via a quirk.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      4ea6fbc8
    • T
      ALSA: hda - Don't call snd_hda_codec_configure in snd_hda_codec_new() · a1e21c90
      Takashi Iwai 提交于
      The codec setup call via snd_hda_codec_configure() isn't necessarily
      called in snd_hda_codec_new().  For the later added feature, it's better
      to change the code flow like:
       - create all codec instances
       - configure each codec
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      a1e21c90
  21. 04 6月, 2009 1 次提交
  22. 02 6月, 2009 2 次提交
  23. 31 5月, 2009 1 次提交
  24. 28 5月, 2009 2 次提交
  25. 26 5月, 2009 2 次提交
  26. 25 5月, 2009 1 次提交
  27. 19 5月, 2009 1 次提交
  28. 18 5月, 2009 1 次提交
    • T
      ALSA: hda - Avoid conflicts with snd-ctxfi driver · 313f6e2d
      Takashi Iwai 提交于
      The PCI entries of Creative with HD-audio class can be the devices
      with emu20k1/emu20k2 chips.  These are supported better by snd-ctxfi
      driver.  With that driver, the device will mutate from HD-audio to
      its native class.
      
      This patch adds a simple ifdef to avoid the conflict of device probe
      between snd-hda-intel and snd-ctxfi drivers.  1102:0009 seems still
      OK to be added as it has no emu20kx chip, and is a pure HD-audio
      device.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      313f6e2d
  29. 21 4月, 2009 1 次提交
    • T
      ALSA: hda - Retry codec-verbs at errors · b613291f
      Takashi Iwai 提交于
      The current error-recovery scheme for the codec communication errors
      doesn't work always well.  Especially falling back to the
      single-command mode causes the fatal problem on many systems.
      
      In this patch, the problematic verb is re-issued again after the error
      (even with polling mode) instead of the single-cmd mode.  The
      single-cmd mode will be used only when specified via the command
      option explicitly, mainly just for testing.
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      b613291f