diff options
author | Maxim Levitsky <maximlevitsky@gmail.com> | 2010-02-04 15:21:47 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-02-05 03:07:21 -0500 |
commit | 1eb6dc7dabcb4aa762d96f4f6978f3ef86321d68 (patch) | |
tree | c6eee9f271d5b3ea7ca605f38ec7f8656e24e8ee /lib/genalloc.c | |
parent | 8ce28d6abff34886d3797b25324c940471b99164 (diff) |
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 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions