aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_codec.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-12-27 11:18:59 +0100
committerTakashi Iwai <tiwai@suse.de>2009-12-27 13:39:14 +0100
commit92ee6162c48fab24f0676969f0f147fc12f8f21c (patch)
tree631e0b20ad7d7aa4ce43719fbb3cc7ddfcbe2255 /sound/pci/hda/hda_codec.h
parentALSA: hda - Add more hints for GPIO setup of IDT/STAC codecs (diff)
downloadlinux-dev-92ee6162c48fab24f0676969f0f147fc12f8f21c.tar.xz
linux-dev-92ee6162c48fab24f0676969f0f147fc12f8f21c.zip
ALSA: hda - Add snd_hda_shutup_pins() helper function
Add a common helper function for clearing pin controls before suspend. Use the pincfg array instead of looking through all widget tree. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h
index 0d08ad5bd898..11c4aa8ee996 100644
--- a/sound/pci/hda/hda_codec.h
+++ b/sound/pci/hda/hda_codec.h
@@ -898,6 +898,7 @@ int snd_hda_codec_set_pincfg(struct hda_codec *codec, hda_nid_t nid,
unsigned int cfg);
int snd_hda_add_pincfg(struct hda_codec *codec, struct snd_array *list,
hda_nid_t nid, unsigned int cfg); /* for hwdep */
+void snd_hda_shutup_pins(struct hda_codec *codec);
/*
* Mixer