diff options
author | Takashi Iwai | 2018-03-21 10:06:13 +0100 |
---|---|---|
committer | Takashi Iwai | 2018-03-21 10:23:07 +0100 |
commit | a8d7bde23e7130686b76624b099f3e22dd38aef7 (patch) | |
tree | 751302ba644ff4cbc03afae42725f8d97bc39717 /sound/isa/adlib.c | |
parent | a6618f4aedb2b60932d766bd82ae7ce866e842aa (diff) |
ALSA: hda - Force polling mode on CFL for fixing codec communication
We've observed too long probe time with Coffee Lake (CFL) machines,
and the likely cause is some communication problem between the
HD-audio controller and the codec chips. While the controller expects
an IRQ wakeup for each codec response, it seems sometimes missing, and
it takes one second for the controller driver to time out and read the
response in the polling mode.
Although we aren't sure about the real culprit yet, in this patch, we
put a workaround by forcing the polling mode as default for CFL
machines; the polling mode itself isn't too heavy, and much better
than other workarounds initially suggested (e.g. disabling
power-save), at least.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=199007
Fixes: e79b0006c45c ("ALSA: hda - Add Coffelake PCI ID")
Reported-and-tested-by: Hui Wang <hui.wang@canonical.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa/adlib.c')
0 files changed, 0 insertions, 0 deletions