From: Takashi Iwai Date: Thu, 20 Dec 2012 10:17:17 +0000 (+0100) Subject: ALSA: hda - Check CORB overflow X-Git-Tag: v3.9-rc1~129^2~70^2~135 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bcce5c0d931bf623adc5974200e4d7636b10bef;p=pandora-kernel.git ALSA: hda - Check CORB overflow Add an overflow check of CORB in HD-audio controller and codec drivers so that flood of sequential writes would work properly. In the controller side, add a check of CORB read-pointer to make returning -EAGAIN when it's full. Meanwhile in the codec side, when -EAGAIN error is received, it retries the write after flushing the pending verbs (calling get_response() essentially does it). Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed