Skip to content
Commit fa00e046 authored by Jaroslav Kysela's avatar Jaroslav Kysela
Browse files

[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: default avatarJaroslav Kysela <perex@perex.cz>
parent 577c9c45
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment