ide: fix comments in ide_config_drive_speed()

Acked-by: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent 4d7bb471
...@@ -369,10 +369,6 @@ int ide_config_drive_speed(ide_drive_t *drive, u8 speed) ...@@ -369,10 +369,6 @@ int ide_config_drive_speed(ide_drive_t *drive, u8 speed)
* but for some reason these don't work at * but for some reason these don't work at
* this point (lost interrupt). * this point (lost interrupt).
*/ */
/*
* Select the drive, and issue the SETFEATURES command
*/
disable_irq_nosync(hwif->irq);
/* /*
* FIXME: we race against the running IRQ here if * FIXME: we race against the running IRQ here if
...@@ -380,6 +376,7 @@ int ide_config_drive_speed(ide_drive_t *drive, u8 speed) ...@@ -380,6 +376,7 @@ int ide_config_drive_speed(ide_drive_t *drive, u8 speed)
* disable_irq() we hang on the error path. Work * disable_irq() we hang on the error path. Work
* is needed. * is needed.
*/ */
disable_irq_nosync(hwif->irq);
udelay(1); udelay(1);
SELECT_DRIVE(drive); SELECT_DRIVE(drive);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment