]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/realtek - Support low power consumption for ALC295
authorKailang Yang <kailang@realtek.com>
Mon, 6 May 2019 07:09:42 +0000 (15:09 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 7 May 2019 09:18:21 +0000 (11:18 +0200)
commitb0e9547e912da7842954d66d3d0488f0c3781f61
tree935823f39ee4fe1a92df3a441a4c91b936c9babf
parent12dfa4a0ab02037f66d4e4597b67f4fdcd224e93
ALSA: hda/realtek - Support low power consumption for ALC295

Enter to close more power control widgets at suspend.
Remove hp_pin check. Add the default pin 0x21 as headphone.
Supported low power consumption, it must do depop procedure when
headset jack was plugged or unplugged.
So, alc225_init() and alc225_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.

[ A few compile fixes by tiwai ]

Fixes: 56d5030074e4 ("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