Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 8419
b: refs/heads/master
c: 2ddee1b
h: refs/heads/master
i:
  8417: aefb9af
  8415: 3936d83
v: v3
  • Loading branch information
Nishanth Aravamudan authored and Linus Torvalds committed Sep 10, 2005
1 parent 8c646db commit bbf7637
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 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: 86e8486245a01f05a3267b2e8b5c02c2303b670d
refs/heads/master: 2ddee1b7a732dc96d479afaa7d0a26aa53990089
3 changes: 1 addition & 2 deletions trunk/drivers/cdrom/sbpcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -827,8 +827,7 @@ static void mark_timeout_audio(u_long i)
static void sbp_sleep(u_int time)
{
sti();
current->state = TASK_INTERRUPTIBLE;
schedule_timeout(time);
schedule_timeout_interruptible(time);
sti();
}
/*==========================================================================*/
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/cdrom/sonycd535.c
Original file line number Diff line number Diff line change
Expand Up @@ -1478,8 +1478,7 @@ static int __init sony535_init(void)
/* look for the CD-ROM, follows the procedure in the DOS driver */
inb(select_unit_reg);
/* wait for 40 18 Hz ticks (reverse-engineered from DOS driver) */
set_current_state(TASK_INTERRUPTIBLE);
schedule_timeout((HZ+17)*40/18);
schedule_timeout_interruptible((HZ+17)*40/18);
inb(result_reg);

outb(0, read_status_reg); /* does a reset? */
Expand Down

0 comments on commit bbf7637

Please sign in to comment.