Ignore:
Timestamp:
Jun 8, 2009, 11:51:32 AM (16 years ago)
Author:
Paul Smedley
Message:

More code tidyups, remove some unnecessary #ifndef TARGET_OS2 by adding some more stub functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/alsa-kernel/pci/ymfpci/ymfpci_main.c

    r426 r445  
    8585                if ((snd_ymfpci_readw(chip, reg) & 0x8000) == 0)
    8686                        return 0;
    87 #ifndef TARGET_OS2
    8887                schedule_timeout_uninterruptible(1);
    89 #else
    90                 set_current_state(TASK_UNINTERRUPTIBLE);
    91                 schedule_timeout(1);
    92 #endif
    9388        } while (time_before(jiffies, end_time));
    9489        snd_printk(KERN_ERR "codec_ready: codec %i is not ready [0x%x]\n", secondary, snd_ymfpci_readw(chip, reg));
     
    794789                add_wait_queue(&chip->interrupt_sleep, &wait);
    795790                atomic_inc(&chip->interrupt_sleep_count);
    796 #ifndef TARGET_OS2
    797791                schedule_timeout_uninterruptible(msecs_to_jiffies(50));
    798 #else
    799                 set_current_state(TASK_UNINTERRUPTIBLE);
    800                 schedule_timeout(msecs_to_jiffies(50));
    801 #endif
    802 
    803792                remove_wait_queue(&chip->interrupt_sleep, &wait);
    804793        }
Note: See TracChangeset for help on using the changeset viewer.