ide: remove IDE_HFLAG_NO_AUTOTUNE host flag
[firefly-linux-kernel-4.4.55.git] / drivers / ide / ide-probe.c
index 9b0a3cba2b03d96be2844458ba0cf4c9e0098786..99972fe3e9e4e06ca53e709d31b6f682099a1aec 100644 (file)
@@ -1325,8 +1325,7 @@ static void ide_port_init_devices(ide_hwif_t *hwif)
                        drive->unmask = 1;
                if (hwif->host_flags & IDE_HFLAG_NO_UNMASK_IRQS)
                        drive->no_unmask = 1;
-               if ((hwif->host_flags & IDE_HFLAG_NO_AUTOTUNE) == 0)
-                       drive->autotune = 1;
+               drive->autotune = 1;
        }
 
        if (port_ops && port_ops->port_init_devs)