ALSA: hda - enable HDMI audio pin out at module loading time
authorWu Fengguang <fengguang.wu@intel.com>
Wed, 11 Feb 2009 07:22:29 +0000 (15:22 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 11 Feb 2009 08:08:59 +0000 (09:08 +0100)
commit606c0cee695bbd0c2bf32132999e35cff5a6dd9e
tree0e180183852098d0349eec5419f747d5ea2c8ca9
parenta1667e4eea0a7085815d1532d7630bb4611271d0
ALSA: hda - enable HDMI audio pin out at module loading time

We found that enabling/disabling HDMI audio pin out at stream start/stop
time will kill the leading 500ms or so sound samples. Avoid this by enabling
pin out once and for ever at module loading time.

The leading ~500ms audio samples will still be lost when switching from
X-channel playback to Y-channel playback where X != Y. However there's no
much we can do about it: the audio infoframe has to change and it looks like
either G45 or YAMAHA requires some time to switch the configuration.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_intelhdmi.c