]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/realtek - Support low power consumption for ALC256
authorKailang Yang <kailang@realtek.com>
Wed, 8 May 2019 08:27:03 +0000 (16:27 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 8 May 2019 08:43:16 +0000 (10:43 +0200)
commit702972f4b017909aea9c4052f82a5f21cfc2d41f
tree948c0c80f72b63b4d3a6136b1b2285b9aad45bc7
parent131ba059392576df248b5bad63e54e8a1abe707c
ALSA: hda/realtek - Support low power consumption for ALC256

Remove hp_pin = 0 return. Add the default pin 0x21 as headphone.
Supported low power consumption, it must do depop procedure when
headset jack was plugged or unplugged.
So, alc256_init() and alc256_shutup() must run delay when headset jack
was plugged or unplugged.
If depop procedure not run with delay, it will have a chance to let
power consumption raise high.

[ NOTE: this is a quite quite similar change for ALC295 by commit
  12f6724bbdb5 ("ALSA: hda/realtek - Support low power consumption for
  ALC295"), but applied to ALC256 codec instead -- tiwai ]

Fixes: bbc6fbadd55b ("ALSA: hda/realtek - Move to ACT_INIT state")
Signed-off-by: Kailang Yang <kailang@realtek.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c