diff options
author | Takashi Iwai <tiwai@suse.de> | 2009-12-27 05:18:59 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-12-27 07:39:14 -0500 |
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, | |||
898 | unsigned int cfg); | 898 | unsigned int cfg); |
899 | int snd_hda_add_pincfg(struct hda_codec *codec, struct snd_array *list, | 899 | int snd_hda_add_pincfg(struct hda_codec *codec, struct snd_array *list, |
900 | hda_nid_t nid, unsigned int cfg); /* for hwdep */ | 900 | hda_nid_t nid, unsigned int cfg); /* for hwdep */ |
901 | void snd_hda_shutup_pins(struct hda_codec *codec); | ||
901 | 902 | ||
902 | /* | 903 | /* |
903 | * Mixer | 904 | * Mixer |