diff options
author | Yanteng Si <siyanteng@loongson.cn> | 2023-06-07 12:21:50 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-06-07 13:37:25 +0300 |
commit | cbc3e98acf802c8939e14103a059db60499d69eb (patch) | |
tree | 9bcd8532c0a0c66e964f664b3635e75e2de30a97 /include/sound/hdaudio.h | |
parent | 28bd137a3c8e105587ba8c55b68ef43b519b270f (diff) | |
download | linux-cbc3e98acf802c8939e14103a059db60499d69eb.tar.xz |
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>
Diffstat (limited to 'include/sound/hdaudio.h')
-rw-r--r-- | include/sound/hdaudio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/hdaudio.h b/include/sound/hdaudio.h index 97f09acae302..a0bb40a4b721 100644 --- a/include/sound/hdaudio.h +++ b/include/sound/hdaudio.h @@ -347,6 +347,7 @@ struct hdac_bus { bool corbrp_self_clear:1; /* CORBRP clears itself after reset */ bool polling_mode:1; bool needs_damn_long_delay:1; + bool not_use_interrupts:1; /* prohibiting the RIRB IRQ */ int poll_count; |