From: Bartlomiej Zolnierkiewicz Date: Mon, 20 Aug 2007 20:42:54 +0000 (+0200) Subject: ide-cris: fix ->set_pio_mode method to set transfer mode on the device X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8292e8c7e4c2b99f22120f677858487de43c484b;p=linux-beck.git ide-cris: fix ->set_pio_mode method to set transfer mode on the device Acked-by: Sergei Shtylyov Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/cris/ide-cris.c b/drivers/ide/cris/ide-cris.c index fbfea46a34f2..04636f7eaae7 100644 --- a/drivers/ide/cris/ide-cris.c +++ b/drivers/ide/cris/ide-cris.c @@ -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)