]> 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)
commit73443d327bff251585918e462b52aa060dfe6564
treef76de449f89494cdeda8b3f71f5f8237a27fd02c
parentcc30f5f14cacb82cb075359a8395607e3429b96c
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