Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions drivers/block/floppy.c
Original file line number Diff line number Diff line change
Expand Up @@ -892,8 +892,8 @@ static int lock_fdc(int drive)

command_status = FD_COMMAND_NONE;

reschedule_timeout(drive, "lock fdc");
set_fdc(drive);
reschedule_timeout(drive, "lock fdc");
return 0;
}

Expand Down Expand Up @@ -2872,8 +2872,8 @@ static blk_status_t floppy_queue_rq(struct blk_mq_hw_ctx *hctx,
spin_unlock_irq(&floppy_lock);

command_status = FD_COMMAND_NONE;
__reschedule_timeout(MAXTIMEOUT, "fd_request");
set_fdc(0);
__reschedule_timeout(MAXTIMEOUT, "fd_request");
process_fd_request();
is_alive(__func__, "");
return BLK_STS_OK;
Expand Down