https://github.com/torvalds/linux
Revision 1eb6dc7dabcb4aa762d96f4f6978f3ef86321d68 authored by Maxim Levitsky on 04 February 2010, 20:21:47 UTC, committed by Takashi Iwai on 05 February 2010, 08:07:21 UTC
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>
1 parent 8ce28d6
History
Tip revision: 1eb6dc7dabcb4aa762d96f4f6978f3ef86321d68 authored by Maxim Levitsky on 04 February 2010, 20:21:47 UTC
ALSA: hda - Delay switching to polling mode if an interrupt was missing
Tip revision: 1eb6dc7
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 843 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 160.3 KB
Makefile -rw-r--r-- 52.0 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top