ide-cris: fix ->set_pio_mode method to set transfer mode on the device
PATCH 2/6 ide-cris: fix ->set_pio_mode method to set transfer mode on the device
Signed-off-by Bartlomiej Zolnierkiewicz <[email protected]>
--- drivers/ide/cris/ide-cris.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/ide/cris/ide-cris.c +2 -0
@@ -722,6 +722,8 @@ static void cris_set_pio_mode(ide_drive_ }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,const u8 speed)
Quoted 1 line · Bartlomiej Zolnierkiewicz
Signed-off-by Bartlomiej Zolnierkiewicz <[email protected]>
Acked-by Sergei Shtylyov <[email protected]>
MBR, Sergei
Quoted 5 lines · Sergei Shtylyov
Quoted 1 line · Bartlomiej Zolnierkiewicz
Signed-off-by Bartlomiej Zolnierkiewicz <[email protected]>Acked-by Sergei Shtylyov <[email protected]>
added