ALSA: hdac: Add snd_hdac_ext_bus_link_power_down_all()
authorJeeja KP <jeeja.kp@intel.com>
Fri, 21 Aug 2015 16:06:18 +0000 (21:36 +0530)
committerTakashi Iwai <tiwai@suse.de>
Fri, 21 Aug 2015 17:28:18 +0000 (19:28 +0200)
commitc5b0c09b8fa3e02d9cbfd9445fb4114becdd3390
tree6f161a9aba40c0c2fdb0ed0a9dd5205899252535
parenta7e3dd85cab1c6990cafd0bedb0b8809f15149b0
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>
include/sound/hdaudio_ext.h
sound/hda/ext/hdac_ext_controller.c