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)
commit39fa84e94a7df64a6ba27669ef98b51994fb6894
tree6422d45980d50291a34eeac9a19c5b5bae4366f5
parent6d86b4fb407995081c85106188e2d2404529d71c
ALSA: hda - Simplify EAPD control in patch_realtek.c

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