Changeset 445 for GPL/trunk/alsa-kernel/pci/ymfpci
- Timestamp:
- Jun 8, 2009, 11:51:32 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/alsa-kernel/pci/ymfpci/ymfpci_main.c
r426 r445 85 85 if ((snd_ymfpci_readw(chip, reg) & 0x8000) == 0) 86 86 return 0; 87 #ifndef TARGET_OS288 87 schedule_timeout_uninterruptible(1); 89 #else90 set_current_state(TASK_UNINTERRUPTIBLE);91 schedule_timeout(1);92 #endif93 88 } while (time_before(jiffies, end_time)); 94 89 snd_printk(KERN_ERR "codec_ready: codec %i is not ready [0x%x]\n", secondary, snd_ymfpci_readw(chip, reg)); … … 794 789 add_wait_queue(&chip->interrupt_sleep, &wait); 795 790 atomic_inc(&chip->interrupt_sleep_count); 796 #ifndef TARGET_OS2797 791 schedule_timeout_uninterruptible(msecs_to_jiffies(50)); 798 #else799 set_current_state(TASK_UNINTERRUPTIBLE);800 schedule_timeout(msecs_to_jiffies(50));801 #endif802 803 792 remove_wait_queue(&chip->interrupt_sleep, &wait); 804 793 }
Note:
See TracChangeset
for help on using the changeset viewer.