commit | 3bcce5c0d931bf623adc5974200e4d7636b10bef | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Thu Dec 20 11:17:17 2012 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Sat Jan 12 08:33:56 2013 +0100 |
tree | 0174be815bfcf29033effad302171275756dbab9 | |
parent | aa88a3553eebdcc3ce6801aabb4ed0223bfa198e [diff] |
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 <tiwai@suse.de>