mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 06:33:34 +00:00
ide-cris: fix ->set_pio_mode method to set transfer mode on the device
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
parent
2195dadf85
commit
8292e8c7e4
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user