]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: intel8x0: Fix breakage at ac97 clock measurement
authorTakashi Iwai <tiwai@suse.de>
Thu, 8 Jul 2021 09:07:38 +0000 (11:07 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 8 Jul 2021 10:26:43 +0000 (12:26 +0200)
commit2439a1b2b9959b489e96d9d8a2c420f927b5a248
treecea5a975c8306b73f7a380353b197bf5ab28cf90
parent7a39176e49bcdd187ac0b9b70f5f09fc361e556e
ALSA: intel8x0: Fix breakage at ac97 clock measurement

The recent workaround for the wild interrupts in commit e4708264fb27
("ALSA: intel8x0: Don't update period unless prepared") leaded to a
regression, causing the interrupt storm during ac97 clock measurement
at the driver probe.  We need to handle the interrupt while the clock
measurement as well as the proper PCM streams.

Fixes: e4708264fb27 ("ALSA: intel8x0: Don't update period unless prepared")
Reported-and-tested-by: Max Filippov <jcmvbkbc@gmail.com>
Tested-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/CAMo8BfKKMQkcsbOQaeEjq_FsJhdK=fn598dvh7YOcZshUSOH=g@mail.gmail.com
Link: https://lore.kernel.org/r/20210708090738.1569-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/intel8x0.c