Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ee1b1cc9 authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz
Browse files

ide: fix comments in ide_config_drive_speed()

parent 4d7bb471
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -369,10 +369,6 @@ int ide_config_drive_speed(ide_drive_t *drive, u8 speed)
	 * but for some reason these don't work at
	 * 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
@@ -380,6 +376,7 @@ int ide_config_drive_speed(ide_drive_t *drive, u8 speed)
	 *	disable_irq() we hang on the error path. Work
	 *	is needed.
	 */
	disable_irq_nosync(hwif->irq);

	udelay(1);
	SELECT_DRIVE(drive);