]> git.openpandora.org Git - pandora-kernel.git/commitdiff
ALSA: hda - Simplify EAPD control in patch_realtek.c
authorTakashi Iwai <tiwai@suse.de>
Mon, 27 Jun 2011 13:28:57 +0000 (15:28 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 27 Jun 2011 13:28:57 +0000 (15:28 +0200)
Look through the known NIDs that may have EAPD capabilities and turn
on/off them appropriately instead of checking the individual vendor ids.

This will also avoid the forgotten entries of newly added codec ids
in future.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c

Simple merge