summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_codec.h
diff options
context:
space:
mode:
authorTakashi Iwai2012-04-26 12:11:44 +0200
committerTakashi Iwai2012-05-14 14:54:56 +0200
commitd3d020bd11d6f1c45444b208e77268b43d3782ef (patch)
tree11643f0f7c1bba1b0554ccf5ef986bbd5533b1ac /sound/pci/hda/hda_codec.h
parentALSA: hda - Check the dead HDMI audio controller by vga-switcheroo (diff)
downloadkernel-qcow2-linux-d3d020bd11d6f1c45444b208e77268b43d3782ef.tar.gz
kernel-qcow2-linux-d3d020bd11d6f1c45444b208e77268b43d3782ef.tar.xz
kernel-qcow2-linux-d3d020bd11d6f1c45444b208e77268b43d3782ef.zip
ALSA: hda - Export snd_hda_lock_devices()
It's a preliminary work for the vga-switcher support. Export the function to do pseudo-lock for the sound card to be used in other places. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r--sound/pci/hda/hda_codec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h
index 29a311b05f2d..be91cdbb1621 100644
--- a/sound/pci/hda/hda_codec.h
+++ b/sound/pci/hda/hda_codec.h
@@ -1020,6 +1020,9 @@ void snd_hda_codec_set_power_to_all(struct hda_codec *codec, hda_nid_t fg,
unsigned int power_state,
bool eapd_workaround);
+int snd_hda_lock_devices(struct hda_bus *bus);
+void snd_hda_unlock_devices(struct hda_bus *bus);
+
/*
* power management
*/