ALSA: hda - Add snd_hda_shutup_pins() helper function
authorTakashi Iwai <tiwai@suse.de>
Sun, 27 Dec 2009 10:18:59 +0000 (11:18 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 27 Dec 2009 12:39:14 +0000 (13:39 +0100)
commit92ee6162c48fab24f0676969f0f147fc12f8f21c
tree631e0b20ad7d7aa4ce43719fbb3cc7ddfcbe2255
parent043958e602ac2cbf918c0dab1e4e2a7f9751ebf6
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>
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_codec.h
sound/pci/hda/patch_sigmatel.c