]> 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)
commitff1d1e1e664a55106df12dfe176fcbb42fc291dd
tree53e72a1374187d8b19e93306a5ba4bc1d4b68653
parent166ea8ae06f4b72b74571a67da19024264de25c2
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