cs4281.c (f7f24758ac98a506770bc5910d33567610fa3403) cs4281.c (77933d7276ee8fa0e2947641941a6f7a100a327b)
1/*
2 * Driver for Cirrus Logic CS4281 based PCI soundcard
3 * Copyright (c) by Jaroslav Kysela <perex@suse.cz>,
4 *
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or

--- 528 unchanged lines hidden (view full) ---

537 set_current_state(TASK_UNINTERRUPTIBLE);
538 schedule_timeout(1);
539 } while (time_after_eq(end_time, jiffies));
540 } else {
541 udelay(delay);
542 }
543}
544
1/*
2 * Driver for Cirrus Logic CS4281 based PCI soundcard
3 * Copyright (c) by Jaroslav Kysela <perex@suse.cz>,
4 *
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or

--- 528 unchanged lines hidden (view full) ---

537 set_current_state(TASK_UNINTERRUPTIBLE);
538 schedule_timeout(1);
539 } while (time_after_eq(end_time, jiffies));
540 } else {
541 udelay(delay);
542 }
543}
544
545inline static void snd_cs4281_delay_long(void)
545static inline void snd_cs4281_delay_long(void)
546{
547 set_current_state(TASK_UNINTERRUPTIBLE);
548 schedule_timeout(1);
549}
550
551static inline void snd_cs4281_pokeBA0(cs4281_t *chip, unsigned long offset, unsigned int val)
552{
553 writel(val, chip->ba0 + offset);

--- 1586 unchanged lines hidden ---
546{
547 set_current_state(TASK_UNINTERRUPTIBLE);
548 schedule_timeout(1);
549}
550
551static inline void snd_cs4281_pokeBA0(cs4281_t *chip, unsigned long offset, unsigned int val)
552{
553 writel(val, chip->ba0 + offset);

--- 1586 unchanged lines hidden ---