diff options
Diffstat (limited to 'drivers/ide/ide-iops.c')
-rw-r--r-- | drivers/ide/ide-iops.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ide/ide-iops.c b/drivers/ide/ide-iops.c index 5523c52fee7a..1ee53a551c3a 100644 --- a/drivers/ide/ide-iops.c +++ b/drivers/ide/ide-iops.c | |||
@@ -1094,6 +1094,9 @@ static void pre_reset(ide_drive_t *drive) | |||
1094 | if (HWIF(drive)->pre_reset != NULL) | 1094 | if (HWIF(drive)->pre_reset != NULL) |
1095 | HWIF(drive)->pre_reset(drive); | 1095 | HWIF(drive)->pre_reset(drive); |
1096 | 1096 | ||
1097 | if (drive->current_speed != 0xff) | ||
1098 | drive->desired_speed = drive->current_speed; | ||
1099 | drive->current_speed = 0xff; | ||
1097 | } | 1100 | } |
1098 | 1101 | ||
1099 | /* | 1102 | /* |