Skip to content

Commit d281e9a

Browse files
committed
ide-cris: handle PIO auto-tuning in tune_cris_ide()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
1 parent 4099d14 commit d281e9a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎drivers/ide/cris/ide-cris.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -684,6 +684,8 @@ static void tune_cris_ide(ide_drive_t *drive, u8 pio)
684684
{
685685
int setup, strobe, hold;
686686

687+
pio = ide_get_best_pio_mode(drive, pio, 4);
688+
687689
switch(pio)
688690
{
689691
case 0:

0 commit comments

Comments
 (0)