diff options
author | Maxim Levitsky <maximlevitsky@gmail.com> | 2010-02-04 22:21:47 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-02-05 09:07:21 +0100 |
commit | 1eb6dc7dabcb4aa762d96f4f6978f3ef86321d68 (patch) | |
tree | c6eee9f271d5b3ea7ca605f38ec7f8656e24e8ee /sound/core/info_oss.c | |
parent | 8ce28d6abff34886d3797b25324c940471b99164 (diff) | |
download | linux-1eb6dc7dabcb4aa762d96f4f6978f3ef86321d68.tar.bz2 |
ALSA: hda - Delay switching to polling mode if an interrupt was missing
My sound codec seems sometimes (very rarely) to omit interrupts (ALC268)
However, interrupt mode still works.
Thus if we get timeout, poll the codec once.
If we get 3 such polls in a row, then switch to polling mode.
This patch is maybe an bandaid, but this might be a workaround for hardware bug.
Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/info_oss.c')
0 files changed, 0 insertions, 0 deletions