diff options
author | Vinod Koul <vinod.koul@intel.com> | 2016-05-12 05:28:53 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-05-13 12:43:00 +0200 |
commit | 4446085d21e75dd6c0c45577f12db0bd7c7bf35f (patch) | |
tree | 2a96c35b59641cb3cf898333398388b0155af77e /kernel/async.c | |
parent | ASoC: Intel: fix up for DAI link's be_id change (diff) | |
download | linux-4446085d21e75dd6c0c45577f12db0bd7c7bf35f.tar.xz linux-4446085d21e75dd6c0c45577f12db0bd7c7bf35f.zip |
ALSA: hdac: add link pm and ref counting
The HDA links can be switched off when not is use, similarly
command DMA can be stopped as well. This calls for a reference
counting mechanism on the link by it's users to manage the link
power. The DMA can be turned off when all links are off
For this we add two APIs
snd_hdac_ext_bus_link_get
snd_hdac_ext_bus_link_put
They help users to turn up/down link and manage the DMA as well
Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Acked-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'kernel/async.c')
0 files changed, 0 insertions, 0 deletions