diff options
author | Kailang Yang <kailang@realtek.com> | 2019-05-08 16:27:03 +0800 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-05-08 10:43:16 +0200 |
commit | 6447c962bc47a58c5ddb27d1c7c7dc45ca90bad0 (patch) | |
tree | 948c0c80f72b63b4d3a6136b1b2285b9aad45bc7 /sound/sh | |
parent | 5095c418b939186c2eac4fabf14d0036656a8ab1 (diff) | |
download | lwn-6447c962bc47a58c5ddb27d1c7c7dc45ca90bad0.tar.gz lwn-6447c962bc47a58c5ddb27d1c7c7dc45ca90bad0.zip |
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
d3ba58bb8959 ("ALSA: hda/realtek - Support low power consumption for
ALC295"), but applied to ALC256 codec instead -- tiwai ]
Fixes: 8983eb602af5 ("ALSA: hda/realtek - Move to ACT_INIT state")
Signed-off-by: Kailang Yang <kailang@realtek.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/sh')
0 files changed, 0 insertions, 0 deletions