summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-02-12 14:00:48 +0100
committerTakashi Iwai <tiwai@suse.de>2018-02-12 14:01:23 +0100
commitbafeca673f04ecd54cbb6b87faf8d525a886d481 (patch)
tree3d8899309dcd59a6fbca440ef5807d3b0c614186 /include/sound
parent1dcb1859dd6752131b85c78fb3e440bd1d2cf361 (diff)
parent3b5b899ca67db07a4c4825911072221f99e157e2 (diff)
downloadlinux-bafeca673f04ecd54cbb6b87faf8d525a886d481.tar.gz
linux-bafeca673f04ecd54cbb6b87faf8d525a886d481.tar.bz2
linux-bafeca673f04ecd54cbb6b87faf8d525a886d481.zip
Merge branch 'topic/hda-sync-power' into for-next
Pull the HD-audio power sync fix. This is shared with ASoC. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/hdaudio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/hdaudio.h b/include/sound/hdaudio.h
index 68169e3749de..4c93ff5301bd 100644
--- a/include/sound/hdaudio.h
+++ b/include/sound/hdaudio.h
@@ -146,6 +146,8 @@ int snd_hdac_codec_write(struct hdac_device *hdac, hda_nid_t nid,
int flags, unsigned int verb, unsigned int parm);
bool snd_hdac_check_power_state(struct hdac_device *hdac,
hda_nid_t nid, unsigned int target_state);
+unsigned int snd_hdac_sync_power_state(struct hdac_device *hdac,
+ hda_nid_t nid, unsigned int target_state);
/**
* snd_hdac_read_parm - read a codec parameter
* @codec: the codec object