]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit1df8874bfab15671fe9433ec20807590ba86b334
tree53e72a1374187d8b19e93306a5ba4bc1d4b68653
parentcf51eb9d0c6027d083893f8a72f26d7f007f1ff7
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