Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99098
b: refs/heads/master
c: a6a950a
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Jun 13, 2008
1 parent 579576e commit b6079a8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8c53b96f229aa6e27f17855cbbf8e4243868a3a9
refs/heads/master: a6a950a8a8e1431e8527809339e089ac926a7d34
9 changes: 9 additions & 0 deletions trunk/sound/pci/hda/hda_intel.c
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ struct azx {
unsigned int single_cmd :1;
unsigned int polling_mode :1;
unsigned int msi :1;
unsigned int irq_pending_warned :1;

/* for debugging */
unsigned int last_cmd; /* last issued command (to sync) */
Expand Down Expand Up @@ -1562,6 +1563,14 @@ static void azx_irq_pending_work(struct work_struct *work)
struct azx *chip = container_of(work, struct azx, irq_pending_work);
int i, pending;

if (!chip->irq_pending_warned) {
printk(KERN_WARNING
"hda-intel: IRQ timing workaround is activated "
"for card #%d. Suggest a bigger bdl_pos_adj.\n",
chip->card->number);
chip->irq_pending_warned = 1;
}

for (;;) {
pending = 0;
spin_lock_irq(&chip->reg_lock);
Expand Down

0 comments on commit b6079a8

Please sign in to comment.