Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96899
b: refs/heads/master
c: 42ece6c
h: refs/heads/master
i:
  96897: aa7b381
  96895: 72c99f7
v: v3
  • Loading branch information
Stas Sergeev authored and Takashi Iwai committed May 19, 2008
1 parent d3b78b0 commit a6c4244
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 2bc536a235382f2a14fbbefd4fa9cd6089c9d0d0
refs/heads/master: 42ece6c1f8162cd782b44dc4863679e888531df5
4 changes: 3 additions & 1 deletion trunk/sound/drivers/pcsp/pcsp_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,11 @@ enum hrtimer_restart pcsp_do_timer(struct hrtimer *handle)
chip->playback_ptr += PCSP_INDEX_INC() * fmt_size;
periods_elapsed = chip->playback_ptr - chip->period_ptr;
if (periods_elapsed < 0) {
printk(KERN_WARNING "PCSP: playback_ptr inconsistent "
#if PCSP_DEBUG
printk(KERN_INFO "PCSP: buffer_bytes mod period_bytes != 0 ? "
"(%zi %zi %zi)\n",
chip->playback_ptr, period_bytes, buffer_bytes);
#endif
periods_elapsed += buffer_bytes;
}
periods_elapsed /= period_bytes;
Expand Down

0 comments on commit a6c4244

Please sign in to comment.