diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-08-20 22:42:54 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-08-20 22:42:54 +0200 |
commit | 8292e8c7e4c2b99f22120f677858487de43c484b (patch) | |
tree | e5d46827b4d63a5b6f86e31d177f0a8bb46fd535 /drivers/ide/cris | |
parent | 2195dadf853bb32262bd2e5a64f517ae45698c55 (diff) | |
download | linux-3.10-8292e8c7e4c2b99f22120f677858487de43c484b.tar.gz linux-3.10-8292e8c7e4c2b99f22120f677858487de43c484b.tar.bz2 linux-3.10-8292e8c7e4c2b99f22120f677858487de43c484b.zip |
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>
Diffstat (limited to 'drivers/ide/cris')
-rw-r--r-- | drivers/ide/cris/ide-cris.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ide/cris/ide-cris.c b/drivers/ide/cris/ide-cris.c index fbfea46a34f..04636f7eaae 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) |