diff options
author | Jeeja KP <jeeja.kp@intel.com> | 2015-08-21 21:36:18 +0530 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-08-21 19:28:18 +0200 |
commit | c5b0c09b8fa3e02d9cbfd9445fb4114becdd3390 (patch) | |
tree | 6f161a9aba40c0c2fdb0ed0a9dd5205899252535 /include/sound | |
parent | a7e3dd85cab1c6990cafd0bedb0b8809f15149b0 (diff) | |
download | linux-stable-c5b0c09b8fa3e02d9cbfd9445fb4114becdd3390.tar.gz linux-stable-c5b0c09b8fa3e02d9cbfd9445fb4114becdd3390.tar.bz2 linux-stable-c5b0c09b8fa3e02d9cbfd9445fb4114becdd3390.zip |
ALSA: hdac: Add snd_hdac_ext_bus_link_power_down_all()
New HDA controllers like Skylake sport multiple HDA links, so we need a
helper to turn off all the links in one go while suspending the device so
add snd_hdac_ext_bus_link_power_down_all() API
Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/hdaudio_ext.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/hdaudio_ext.h b/include/sound/hdaudio_ext.h index 55e2fc36177f..160160d9bffc 100644 --- a/include/sound/hdaudio_ext.h +++ b/include/sound/hdaudio_ext.h @@ -116,6 +116,7 @@ struct hdac_ext_link { int snd_hdac_ext_bus_link_power_up(struct hdac_ext_link *link); int snd_hdac_ext_bus_link_power_down(struct hdac_ext_link *link); +int snd_hdac_ext_bus_link_power_down_all(struct hdac_ext_bus *ebus); void snd_hdac_ext_link_set_stream_id(struct hdac_ext_link *link, int stream); void snd_hdac_ext_link_clear_stream_id(struct hdac_ext_link *link, |