ALSA: hda: Refactor powerdown for Realtek HDA codecs
authorDaniel T Chen <crimsun@ubuntu.com>
Sun, 27 Dec 2009 23:52:08 +0000 (18:52 -0500)
committerTakashi Iwai <tiwai@suse.de>
Mon, 28 Dec 2009 11:15:47 +0000 (12:15 +0100)
commitc97259df3f2e163c72f4d0685c61fb2e026dc989
tree7b491c760b404724c3a6f37b247a428f89ca8323
parentea52bf260ecbb175339af3178c15788df21b7516
ALSA: hda: Refactor powerdown for Realtek HDA codecs

This patch converts the alc889 Aspire-specific powerdown to a generic
one. Like the previous effort, it currently only handles Front and PCM
but can be easily extended to cover other nids. The existing hook for
alc889 Aspire-specific remains enabled. Upon further testing, I've added
its use for ALC861_AUTO as well. Following patches will enable them for
other quirks.

Tested-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Daniel T Chen <crimsun@ubuntu.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c