diff options
author | Mengdong Lin <mengdong.lin@intel.com> | 2013-09-04 22:37:12 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-09-06 18:23:54 +0200 |
commit | 58f7d28da6994e4292ade2ac9eabebb723a9bbe6 (patch) | |
tree | 988b43e1b074e7552f40de079fa36eb60b1a852a /sound/pci/als300.c | |
parent | ALSA: hda - define is_haswell() to check if a display audio codec is Haswell (diff) | |
download | linux-58f7d28da6994e4292ade2ac9eabebb723a9bbe6.tar.xz linux-58f7d28da6994e4292ade2ac9eabebb723a9bbe6.zip |
ALSA: hda - unmute pin amplifier in infoframe setup for Haswell
When Gfx driver reconnects a port and transcoder, the pin amplifier will
be muted. To enable sound, the pin amp need to be unmuted.
This patch
- moves pin amp unmuting from stream preparing to hdmi_setup_audio_infoframe().
So if port:transcoder reconnection happens during stream playback, the ELDV
unsol event can stil trigger pin's amp unmuting when re-setting up audio
info frame.
- remove reading pin amp status before unmuting for speed-up, since pin amp
should always be unmuted.
- rename haswell_verify_pin_D0() to haswell_verify_D0(), since the convertor
power state is also fixed here.
This patch is mostly based on suggestion of David Henningsson.
Cc: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Mengdong Lin <mengdong.lin@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/als300.c')
0 files changed, 0 insertions, 0 deletions