ALSA: hda: Using polling mode for loongson controller by default
authorYanteng Si <siyanteng@loongson.cn>
Wed, 7 Jun 2023 09:21:50 +0000 (17:21 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 7 Jun 2023 10:37:25 +0000 (12:37 +0200)
commitcbc3e98acf802c8939e14103a059db60499d69eb
tree9bcd8532c0a0c66e964f664b3635e75e2de30a97
parent28bd137a3c8e105587ba8c55b68ef43b519b270f
ALSA: hda: Using polling mode for loongson controller by default

On loongson controller, RIRBSTS.RINTFL cannot be cleared,
azx_interrupt() is called all the time. We disable RIRB
interrupt, and use polling mode by default.

Signed-off-by: Yanteng Si <siyanteng@loongson.cn>
Signed-off-by: Yingkun Meng <mengyingkun@loongson.cn>
Acked-by: Huacai Chen <chenhuacai@loongson.cn>
Link: https://lore.kernel.org/r/d309a75424d438b958d90d797b4f1ba45468e090.1686128807.git.siyanteng@loongson.cn
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/hdaudio.h
sound/hda/hdac_controller.c
sound/pci/hda/hda_intel.c