]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Reduce the suspend time consumption for ALC256
authorTakashi Iwai <tiwai@suse.de>
Fri, 19 Jan 2018 13:18:34 +0000 (14:18 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 19 Jan 2018 13:18:34 +0000 (14:18 +0100)
commite0d8a6a9df6133adebf7976cf54083b44c0279d1
tree7e863744fe6993a804e6ee0f83453a64e2bd701f
parentdaaa2da956bed2ca9c0ebd9c9b2f2fa155d4aece
ALSA: hda - Reduce the suspend time consumption for ALC256

ALC256 has its own quirk to override the shutup call, and it contains
the COEF update for pulling down the headset jack control.  Currently,
the COEF update is called after clearing the headphone pin, and this
seems triggering a stall of the codec communication, and results in a
long delay over a second at suspend.

A quick resolution is to swap the calls: at first with the COEF
update, then clear the headphone pin.

Fixes: bf6f90967203 ("ALSA: hda/realtek - Add ALC256 HP depop function")
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=198503
Reported-by: Paul Menzel <pmenzel@molgen.mpg.de>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c