]> rtime.felk.cvut.cz Git - linux-imx.git/commit
ALSA: hda - Haswell converter power state D0 verify
authorWang Xingchao <xingchao.wang@linux.intel.com>
Tue, 18 Jun 2013 02:41:53 +0000 (10:41 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 18 Jun 2013 06:04:15 +0000 (08:04 +0200)
commit53b434f09340db8ad59b43789b7c43f54171fe36
tree0e883bf150eb8ceea494614a2f4cbf3c1cbda2ec
parent06ec56d3c60238f27bfa50d245592fccc1b4ef0f
ALSA: hda - Haswell converter power state D0 verify

Haswell converters maybe in wrong power state before usage.
i.e. only converter 0 is in D0, converter 1/2 are in D3.
When pin choose converter 1/2, there's no audio output, this
cause dependency when playing differnt stream on pins.

AUD_PWRST  ConvertorA_Widget_Power_State_Current        D0
AUD_PWRST  ConvertorA_Widget_Power_State_Requsted       D0
AUD_PWRST  ConvertorB_Widget_Power_State_Current        D3
AUD_PWRST  ConvertorB_Widget_Power_State_Requested      D3
AUD_PWRST  ConvC_Widget_PwrSt_Curr                      D3
AUD_PWRST  ConvC_Widget_PwrSt_Req                       D3

This patch check converter's power state and set D0 if it's in D3 mode.

Signed-off-by: Wang Xingchao <xingchao.wang@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c