Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187124
b: refs/heads/master
c: 045f983
h: refs/heads/master
v: v3
  • Loading branch information
Joe Perches authored and Linus Torvalds committed Mar 12, 2010
1 parent 4615150 commit b33e8a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: a81ee5447157a4b9930bab8ec70cf77a55db64e8
refs/heads/master: 045f98363080ddbbcef6b8b8306ec58a818406a0
6 changes: 4 additions & 2 deletions trunk/drivers/block/floppy.c
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,6 @@ static void floppy_release_irq_and_dma(void);
* reset doesn't need to be tested before sending commands, because
* output_byte is automatically disabled when reset is set.
*/
#define CHECK_RESET { if (FDCS->reset){ reset_fdc(); return; } }
static void reset_fdc(void);

/*
Expand Down Expand Up @@ -1958,7 +1957,10 @@ static int start_motor(void (*function)(void))

static void floppy_ready(void)
{
CHECK_RESET;
if (FDCS->reset) {
reset_fdc();
return;
}
if (start_motor(floppy_ready))
return;
if (fdc_dtr())
Expand Down

0 comments on commit b33e8a5

Please sign in to comment.