From: Maxim Levitsky Date: Thu, 4 Feb 2010 20:21:47 +0000 (+0200) Subject: ALSA: hda - Delay switching to polling mode if an interrupt was missing X-Git-Tag: v2.6.33-rc7~4^2~2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1eb6dc7dabcb4aa762d96f4f6978f3ef86321d68;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed