[PATCH 10/10] snd-hda-sync

Chris Wilson chris at chris-wilson.co.uk
Tue Feb 13 13:22:56 UTC 2018


---
 sound/pci/hda/hda_codec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c
index 5bc3a7468e17..4f6bb9321f0c 100644
--- a/sound/pci/hda/hda_codec.c
+++ b/sound/pci/hda/hda_codec.c
@@ -2764,7 +2764,7 @@ static unsigned int hda_set_power_state(struct hda_codec *codec,
 						   state);
 			snd_hda_codec_set_power_to_all(codec, fg, power_state);
 		}
-		state = snd_hda_sync_power_state(codec, fg, power_state);
+		state = snd_hda_sync_power_state(&codec->core, fg, power_state);
 		if (!(state & AC_PWRST_ERROR))
 			break;
 	}
-- 
2.16.1



More information about the Intel-gfx-trybot mailing list