forked from luck/tmp_suning_uos_patched
[ALSA] hda-codec - Add a delay after power state change
Added a delay after the power state change as a partial workaround for 'hda_intel: azx_get_response timeout' problem on Cxt codecs. Signed-off-by: Marc Boucher <marc@linuxant.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
9f113e0ef4
commit
d2595d86e5
|
@ -1685,6 +1685,7 @@ static void hda_set_power_state(struct hda_codec *codec, hda_nid_t fg,
|
|||
|
||||
snd_hda_codec_write(codec, fg, 0, AC_VERB_SET_POWER_STATE,
|
||||
power_state);
|
||||
msleep(10); /* partial workaround for "azx_get_response timeout" */
|
||||
|
||||
nid = codec->start_nid;
|
||||
for (i = 0; i < codec->num_nodes; i++, nid++) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user