diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-12-27 11:18:59 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-12-27 13:39:14 +0100 |
commit | 92ee6162c48fab24f0676969f0f147fc12f8f21c (patch) | |
tree | 631e0b20ad7d7aa4ce43719fbb3cc7ddfcbe2255 /sound/pci/hda/hda_codec.h | |
parent | 043958e602ac2cbf918c0dab1e4e2a7f9751ebf6 (diff) |
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.h | 1 |
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 |