summaryrefslogtreecommitdiff
path: root/sound/hda/codecs/generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/hda/codecs/generic.c')
-rw-r--r--sound/hda/codecs/generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/hda/codecs/generic.c b/sound/hda/codecs/generic.c
index 092428ada29d..660a9f2c0ded 100644
--- a/sound/hda/codecs/generic.c
+++ b/sound/hda/codecs/generic.c
@@ -863,7 +863,7 @@ static void sync_power_state_change(struct hda_codec *codec, hda_nid_t nid)
{
if (nid) {
msleep(10);
- snd_hda_codec_read(codec, nid, 0, AC_VERB_GET_POWER_STATE, 0);
+ snd_hda_codec_write_sync(codec, nid, 0, AC_VERB_GET_POWER_STATE, 0);
}
}