Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334451
b: refs/heads/master
c: 1f04661
h: refs/heads/master
i:
  334449: e586d05
  334447: c8b861c
v: v3
  • Loading branch information
Takashi Iwai committed Oct 16, 2012
1 parent 357aadf commit 51573e4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 128960a9ad67e2d119738f5211956e0304517551
refs/heads/master: 1f04661fde9deda4a2cd5845258715a22d8af197
9 changes: 6 additions & 3 deletions trunk/sound/pci/hda/hda_intel.c
Original file line number Diff line number Diff line change
Expand Up @@ -2158,9 +2158,12 @@ static unsigned int azx_get_position(struct azx *chip,
if (delay < 0)
delay += azx_dev->bufsize;
if (delay >= azx_dev->period_bytes) {
snd_printdd("delay %d > period_bytes %d\n",
delay, azx_dev->period_bytes);
delay = 0; /* something is wrong */
snd_printk(KERN_WARNING SFX
"Unstable LPIB (%d >= %d); "
"disabling LPIB delay counting\n",
delay, azx_dev->period_bytes);
delay = 0;
chip->driver_caps &= ~AZX_DCAPS_COUNT_LPIB_DELAY;
}
azx_dev->substream->runtime->delay =
bytes_to_frames(azx_dev->substream->runtime, delay);
Expand Down

0 comments on commit 51573e4

Please sign in to comment.