summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2009-04-10 12:20:45 +0200
committerJaroslav Kysela <perex@perex.cz>2009-04-10 12:20:45 +0200
commitfa00e046b41663cbda9b1affc0594669e5f14219 (patch)
treeb639f0255a6eba9cf78c4e34e6216eb46f05891f /include/sound
parent577c9c456f0e1371cbade38eaf91ae8e8a308555 (diff)
downloadop-kernel-dev-fa00e046b41663cbda9b1affc0594669e5f14219.zip
op-kernel-dev-fa00e046b41663cbda9b1affc0594669e5f14219.tar.gz
[ALSA] hda_intel: fix unexpected ring buffer positions
I found two issues with ICH7-M (it should be related to other HDA chipsets as well): - the ring buffer position is not reset when stream restarts (after xrun) - solved by moving azx_stream_reset() call from open() to prepare() callback and reset posbuf to zero (it might be filled with hw later than position() callback is called) - irq_ignore flag should be set also when ring buffer memory area is not changed in prepare() callback - this patch replaces irq_ignore with more universal check based on jiffies clock Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud