Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206689
b: refs/heads/master
c: e5de3df
h: refs/heads/master
i:
  206687: c18f559
v: v3
  • Loading branch information
Kulikov Vasiliy authored and Takashi Iwai committed Jul 26, 2010
1 parent 3e9311a commit ad60213
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2232e238295d8ea707fe4271ffbfd4f32346aa81
refs/heads/master: e5de3dfc391cceff6a4a3a0bb9c9c349a2e7c275
10 changes: 2 additions & 8 deletions trunk/sound/oss/waveartist.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,14 +184,8 @@ waveartist_iack(wavnc_info *devc)
static inline int
waveartist_sleep(int timeout_ms)
{
unsigned int timeout = timeout_ms * 10 * HZ / 100;

do {
set_current_state(TASK_INTERRUPTIBLE);
timeout = schedule_timeout(timeout);
} while (timeout);

return 0;
unsigned int timeout = msecs_to_jiffies(timeout_ms*100);
return schedule_timeout_interruptible(timeout);
}

static int
Expand Down

0 comments on commit ad60213

Please sign in to comment.