Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 342560
b: refs/heads/master
c: 86a778a
h: refs/heads/master
v: v3
  • Loading branch information
Wei Yongjun authored and Takashi Iwai committed Oct 22, 2012
1 parent a14ec5f commit 91d1303
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 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: 7a75e742fa64b98e4d9e227aa6f52bb5dc0a2b9a
refs/heads/master: 86a778a78d06cdc8c3994837cd963c146acfba6a
2 changes: 0 additions & 2 deletions trunk/sound/pci/hda/hda_intel.c
Original file line number Diff line number Diff line change
Expand Up @@ -2211,13 +2211,11 @@ static int azx_position_ok(struct azx *chip, struct azx_dev *azx_dev)
{
u32 wallclk;
unsigned int pos;
int stream;

wallclk = azx_readl(chip, WALLCLK) - azx_dev->start_wallclk;
if (wallclk < (azx_dev->period_wallclk * 2) / 3)
return -1; /* bogus (too early) interrupt */

stream = azx_dev->substream->stream;
pos = azx_get_position(chip, azx_dev, true);

if (WARN_ONCE(!azx_dev->period_bytes,
Expand Down

0 comments on commit 91d1303

Please sign in to comment.