Changeset 371 for GPL/branches
- Timestamp:
- Sep 14, 2008, 2:59:04 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/uniaud32-2.0/alsa-kernel/pci/hda/hda_intel.c
r358 r371 581 581 struct azx *chip = codec->bus->private_data; 582 582 unsigned long timeout; 583 #ifdef TARGET_OS2 584 int count=0; 585 #endif 583 586 584 587 again: … … 596 599 if (time_after(jiffies, timeout)) 597 600 break; 601 #ifdef TARGET_OS2 602 if (count >= 5000) /* Hack on OS/2 to stop infinite loop as jiffies don't increment *. 603 break; 604 #endif 598 605 if (codec->bus->needs_damn_long_delay) 599 606 msleep(2); /* temporary workaround */ 600 607 else { 601 608 udelay(10); 609 #ifdef TARGET_OS2 610 count=count+1; 611 #endif 602 612 cond_resched(); 603 613 }
Note:
See TracChangeset
for help on using the changeset viewer.