diff options
author | Jaroslav Kysela <perex@perex.cz> | 2009-04-10 12:20:45 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2009-04-10 12:20:45 +0200 |
commit | fa00e046b41663cbda9b1affc0594669e5f14219 (patch) | |
tree | b639f0255a6eba9cf78c4e34e6216eb46f05891f /sound/pci/ens1370.c | |
parent | 577c9c456f0e1371cbade38eaf91ae8e8a308555 (diff) |
[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 'sound/pci/ens1370.c')
0 files changed, 0 insertions, 0 deletions