Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bd38dd3c authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz
Browse files

au1xxx-ide: fix ->io_32bit handling



The host driver must set hwif's ->no_io_32bit setting not drive's one
(ide_port_tune_devices() overrides drive's setting).

Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent 36e9dc46
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -658,8 +658,7 @@ static int au_ide_probe(struct device *dev)
	hwif->drives[0].autotune        = 1;    /* 1=autotune, 2=noautotune, 0=default */
	hwif->drives[1].autotune	= 1;

	hwif->drives[0].no_io_32bit	= 1;
	hwif->drives[1].no_io_32bit	= 1;
	hwif->no_io_32bit		= 1;

	auide_hwif.hwif                 = hwif;
	hwif->hwif_data                 = &auide_hwif;