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

Commit 8292e8c7 authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz
Browse files

ide-cris: fix ->set_pio_mode method to set transfer mode on the device

parent 2195dadf
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -718,6 +718,8 @@ static void tune_cris_ide(ide_drive_t *drive, u8 pio)
	}

	cris_ide_set_speed(TYPE_PIO, setup, strobe, hold);

	(void)ide_config_drive_speed(drive, XFER_PIO_0 + pio);
}

static int speed_cris_ide(ide_drive_t *drive, u8 speed)