ALSA: hda - Avoid unnecessary parameter read for EPSS
commit983f6b93818aa62fbc74c37fcb8a482718a19252
authorTakashi Iwai <tiwai@suse.de>
Tue, 28 Aug 2012 16:18:01 +0000 (28 09:18 -0700)
committerTakashi Iwai <tiwai@suse.de>
Tue, 28 Aug 2012 16:25:57 +0000 (28 09:25 -0700)
treef76de449f89494cdeda8b3f71f5f8237a27fd02c
parent042b92c185cbd7b4291710255510ae76b2d7797b
ALSA: hda - Avoid unnecessary parameter read for EPSS

EPSS parameter should be static, so we can read it once and remember.
This also allows more easily to override the wrong EPSS capability
reported from a codec by changing the flag in the codec
initialization step.

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