]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Avoid unnecessary parameter read for EPSS
authorTakashi Iwai <tiwai@suse.de>
Tue, 28 Aug 2012 16:18:01 +0000 (09:18 -0700)
committerTakashi Iwai <tiwai@suse.de>
Tue, 28 Aug 2012 16:25:57 +0000 (09:25 -0700)
commit9ae29b8055159dfc28bf0477a410a878c0c52afb
treef76de449f89494cdeda8b3f71f5f8237a27fd02c
parente7275d8a6a2f2397238ff12d51dd4d1d80271a0a
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