]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/realtek - Update Initial AMP for EAPD control
authorKailang Yang <kailang@realtek.com>
Wed, 29 Oct 2014 08:10:13 +0000 (16:10 +0800)
committerTakashi Iwai <tiwai@suse.de>
Thu, 30 Oct 2014 08:01:17 +0000 (09:01 +0100)
commit78ac2e2ce8a09890ae58f42647d5af3834a0aa76
tree53e72a1374187d8b19e93306a5ba4bc1d4b68653
parent773c2f881a1c75840f1414589d5ddde105e1ceae
ALSA: hda/realtek - Update Initial AMP for EAPD control

The default EAPD control uses verb command to control EAPD. Some codec
does not have verb command for EAPD. It needs to control by hidden
register.

This update will avoid wrong behavior for some codec.  This patch will
fix double setup for EAPD.  It just needs to turn on by one site for
verb command or hidden register controlled.

Detailed changes:
- alc889_coef_init() is replaced with alc_update_coef_idx() with a
  correct COEF value.
- for ALC262, ALC887 and ALC900, the EAPD setup via the hidden
  register is removed because this rather conflicts with the EAPD verb
  setup.
-  For ALC888-VC, also the hidden register access is removed in
  alc888_coef_init().
- Remove the dead #if 0 code for ALC267/ALC268.

Signed-off-by: Kailang Yang <kailang@realtek.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c